[Python-modules-commits] r21076 - in packages/numpy/trunk/debian (rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sun Apr 8 00:12:28 UTC 2012
Date: Sunday, April 8, 2012 @ 00:12:26
Author: morph
Revision: 21076
during tests, print lines to identify the version of the interpreter, useful for debug
Modified:
packages/numpy/trunk/debian/rules
Modified: packages/numpy/trunk/debian/rules
===================================================================
--- packages/numpy/trunk/debian/rules 2012-04-06 12:57:41 UTC (rev 21075)
+++ packages/numpy/trunk/debian/rules 2012-04-08 00:12:26 UTC (rev 21076)
@@ -167,12 +167,16 @@
# select the code in the installation path
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-for v in $(PY2VERS) ; do \
+ echo "-- running tests for "$$v" plain --" ; \
python$$v -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python$$v/dist-packages/') ; import numpy; numpy.test()" ; \
+ echo "-- running tests for "$$v" debug --" ; \
python$$v-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python$$v/dist-packages/') ; import numpy; numpy.test()" ; \
done
# Python 3.2 maps to python3/ dir alone? bah
-for v in $(PY3VERS) ; do \
+ echo "-- running tests for "$$v" plain --" ; \
python$$v -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
+ echo "-- running tests for "$$v" debug --" ; \
python$$v-dbg -c "import sys ; sys.path.insert(0, '$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/') ; import numpy; numpy.test()" ; \
done
endif
More information about the Python-modules-commits
mailing list