summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-08-17 15:14:45 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-08-17 15:14:45 +0200
commit224bdefc223703884918235819fe3b246e568f74 (patch)
tree7d283734caeb1a056692de58505bd365a52c13aa /debian/rules
parent1908ba0f52399bda2f97dbff099d03be2237d03f (diff)
understand DEB_BUILD_OPTIONS nocheck to disable the testexecution
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
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