From 20a18d54746731704d2d2dfc28edd9660eb1a296 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 27 Jul 2019 12:17:06 -0400 Subject: [PATCH] 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 --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1