]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debian: skip running "make check" if DEB_BUILD_OPTIONS contains nocheck
authorTheodore Ts'o <tytso@mit.edu>
Sat, 27 Jul 2019 16:17:06 +0000 (12:17 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 27 Jul 2019 16:17:06 +0000 (12:17 -0400)
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>
debian/rules

index e957d754a64fc9234167f1d303d8e1a902067ba9..2499f6a7059f9c3a045b5dbcbc448275e23ce16a 100755 (executable)
@@ -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