[Python-modules-commits] r19237 - in packages/ipython/trunk/debian (rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat Nov 12 17:57:42 UTC 2011


    Date: Saturday, November 12, 2011 @ 17:57:41
  Author: jtaylor-guest
Revision: 19237

run test for all python versions

Modified:
  packages/ipython/trunk/debian/rules

Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules	2011-11-12 17:57:33 UTC (rev 19236)
+++ packages/ipython/trunk/debian/rules	2011-11-12 17:57:41 UTC (rev 19237)
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export DH_VERBOSE=1
 PYVERS = $(shell pyversions -sv)
 
 override_dh_compress:
@@ -18,7 +19,10 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	# IPython.frontend requires X
-	LC_ALL=C.UTF-8 PATH=$(CURDIR)/IPython/scripts/:$(PATH) PYTHONPATH=$(CURDIR) xvfb-run -s "-screen 0 1280x1024x24 -noreset" $(CURDIR)/IPython/scripts/iptest -v
+	set -e && for pyvers in $(PYVERS); do \
+	  LC_ALL=C.UTF-8 PATH=$(CURDIR)/IPython/scripts/:$(PATH) PYTHONPATH=$(CURDIR) xvfb-run -s "-screen 0 1280x1024x24 -noreset" \
+	  python$$pyvers $(CURDIR)/IPython/scripts/iptest -v; \
+	done
 endif
 
 override_dh_auto_install:




More information about the Python-modules-commits mailing list