[PATCH 4/5] make rebuild use skippable error codes when skipping.

Dimitri John Ledkov xnox at ubuntu.com
Thu Mar 7 15:32:21 UTC 2019


---
 debian/tests/control | 2 +-
 debian/tests/rebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.20.1




More information about the kernel-team mailing list