[Python-modules-commits] r19114 - in packages/python-unipath/trunk/debian (rules)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Mon Oct 31 01:23:59 UTC 2011


    Date: Monday, October 31, 2011 @ 01:23:58
  Author: arnau
Revision: 19114

Make sure that `make' exits upon test failure.

Modified:
  packages/python-unipath/trunk/debian/rules

Modified: packages/python-unipath/trunk/debian/rules
===================================================================
--- packages/python-unipath/trunk/debian/rules	2011-10-31 01:21:33 UTC (rev 19113)
+++ packages/python-unipath/trunk/debian/rules	2011-10-31 01:23:58 UTC (rev 19114)
@@ -9,7 +9,7 @@
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	cp unipath/test.py .
-	for python in $(shell pyversions -r); do \
+	set -e; for python in $(shell pyversions -r); do \
 		$$python $(shell which nosetests) ./test.py; \
 	done
 	rm -f ./test.py ./test.pyc




More information about the Python-modules-commits mailing list