From: David Kalnischkies Date: Wed, 17 Aug 2011 13:14:45 +0000 (+0200) Subject: understand DEB_BUILD_OPTIONS nocheck to disable the testexecution X-Git-Tag: 0.8.15.7~2^2~2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/224bdefc223703884918235819fe3b246e568f74?ds=sidebyside understand DEB_BUILD_OPTIONS nocheck to disable the testexecution --- diff --git a/debian/rules b/debian/rules index 541660cfe..d6c2dfa22 100755 --- a/debian/rules +++ b/debian/rules @@ -97,7 +97,11 @@ build/configure-stamp: configure build/build-stamp: build/configure-stamp # Add here commands to compile the package. $(MAKE) binary +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) $(MAKE) test +else + @echo "Tests DISABLED" +endif touch $@ build/build-doc-stamp: build/configure-stamp