[SCM] Core functionality for performing astronomy and astrophysics with Python branch, debian, updated. 2347cc4d420f2590e2c52c98d2f88a04debe6526

Ole Streicher debian at liska.ath.cx
Tue Feb 12 23:16:44 UTC 2013


The following commit has been merged in the debian branch:
commit 2347cc4d420f2590e2c52c98d2f88a04debe6526
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Wed Feb 13 00:16:37 2013 +0100

    run tests only if DEB_BUILD_OPTIONS=nocheck is unset, and run them on all python versions

diff --git a/debian/rules b/debian/rules
index 90afdd0..f73b3d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,5 +22,9 @@ override_dh_auto_clean:
 	rm -rf build astropy.egg-info
 	rm -rf docs/_build docs/_generated
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	python setup.py test
+	  for PYTHON in $(shell pyversions -r); do \
+	    $$PYTHON setup.py test || exit $$? ; \
+	  done
+endif

-- 
Core functionality for performing astronomy and astrophysics with Python



More information about the debian-science-commits mailing list