summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-07-27 12:17:06 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-07-27 12:17:06 -0400
commit20a18d54746731704d2d2dfc28edd9660eb1a296 (patch)
tree8647cef80f910cab2376c7fd12f553d981d034d2
parent51bd35712dbd436abc6467228cfc332df23276bf (diff)
debian: skip running "make check" if DEB_BUILD_OPTIONS contains nocheck
This was done automatically by debhelper, but it got dropped when override_dh_auto_test was added by commit 7f4c3bb120 ("debian: run "make check" with V=1 to keep blhc happy"). Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index e957d754..2499f6a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -170,7 +170,9 @@ override_dh_gencontrol:
dh_gencontrol --remaining-packages
override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C ${stdbuilddir} V=1 check
+endif
test_printenv:
printenv | sort