[4/5] make rebuild use skippable error codes when skipping.
diff mbox series

Message ID 20190307153222.29255-5-xnox@ubuntu.com
State New
Headers show
Series
  • autopkgtest skippable fixes
Related show

Commit Message

Dimitri John Ledkov March 7, 2019, 3:32 p.m. UTC
---
 debian/tests/control | 2 +-
 debian/tests/rebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/debian/tests/control b/debian/tests/control
index ed1e6c8becc5..4b80100ceb66 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,6 +1,6 @@ 
 Tests: rebuild
 Depends: @builddeps@, fakeroot
-Restrictions: allow-stderr
+Restrictions: allow-stderr, skippable
 
 Tests: ubuntu-regression-suite
 Depends: build-essential, gcc-multilib [amd64 armhf i386], gdb, git, bzr
diff --git a/debian/tests/rebuild b/debian/tests/rebuild
index d3f70a041c50..365835c92d92 100755
--- a/debian/tests/rebuild
+++ b/debian/tests/rebuild
@@ -13,7 +13,7 @@  do
 done
 if [ "$build_needed" -eq 0 ]; then
 	echo "rebuild: short circuiting build for '${ADT_TEST_TRIGGERS}'"
-	exit 0
+	exit 77
 fi
 
 set -e