From: Theodore Ts'o Date: Sat, 27 Jul 2019 16:17:06 +0000 (-0400) Subject: debian: skip running "make check" if DEB_BUILD_OPTIONS contains nocheck X-Git-Tag: v1.45.4~24 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=20a18d54746731704d2d2dfc28edd9660eb1a296;p=tools%2Fe2fsprogs.git 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 --- diff --git a/debian/rules b/debian/rules index e957d75..2499f6a 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