[SCM] Control pipeline recipes from the European Southern Observatory branch, debian, updated. upstream/0.3.5.1-52-gc2e3460

Ole Streicher debian at liska.ath.cx
Wed Feb 13 08:38:50 UTC 2013


The following commit has been merged in the debian branch:
commit c2e34608f6a563cc5ab534030f60041ab60fc6ac
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Feb 13 09:38:42 2013 +0100

    run tests only if DEB_BUILD_OPTIONS=nocheck is unset

diff --git a/debian/rules b/debian/rules
index 09c1add..079cc74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,14 @@ CFLAGS += -Werror=format-security
 build_test_recipe:
 	(cd test/iiinstrumentp && ./bootstrap && ./configure && make CPPFLAGS="$$CPPFLAGS -D_XOPEN_SOURCE=500")
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test: build_test_recipe
 	for PYTHON in $(shell pyversions -r); do \
 	    $$PYTHON setup.py build_ext -i && \
 	    MALLOC_CHECK_=0 PYTHONPATH=$$(pwd) $$PYTHON test/TestRecipe.py \
 	        || exit $$? ; \
 	done
+endif
 
 override_dh_install:
 	dh_install

-- 
Control pipeline recipes from the European Southern Observatory



More information about the debian-science-commits mailing list