Bläddra i källkod

understand DEB_BUILD_OPTIONS nocheck to disable the testexecution

David Kalnischkies 15 år sedan
förälder
incheckning
224bdefc22
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      debian/rules

+ 4 - 0
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