From 6e08a00f4f6cb1183f615e626a7297945ac53783 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 17 Aug 2011 14:49:03 +0200 Subject: * test/* - reorganize the various testcases and helper we have and integrate them better into the buildsystem - run the test/libapt testcases at package build-time --- debian/rules | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 640900678..541660cfe 100755 --- a/debian/rules +++ b/debian/rules @@ -97,6 +97,7 @@ build/configure-stamp: configure build/build-stamp: build/configure-stamp # Add here commands to compile the package. $(MAKE) binary + $(MAKE) test touch $@ build/build-doc-stamp: build/configure-stamp -- cgit v1.2.3 From 224bdefc223703884918235819fe3b246e568f74 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 17 Aug 2011 15:14:45 +0200 Subject: understand DEB_BUILD_OPTIONS nocheck to disable the testexecution --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/rules') 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 -- cgit v1.2.3