[Python-modules-commits] r16314 - in packages/python-geohash/trunk/debian (rules)

davide125-guest at users.alioth.debian.org davide125-guest at users.alioth.debian.org
Sat Apr 2 10:13:11 UTC 2011


    Date: Saturday, April 2, 2011 @ 10:12:59
  Author: davide125-guest
Revision: 16314

better handling of tests run in debian/rules

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

Modified: packages/python-geohash/trunk/debian/rules
===================================================================
--- packages/python-geohash/trunk/debian/rules	2011-04-02 10:11:44 UTC (rev 16313)
+++ packages/python-geohash/trunk/debian/rules	2011-04-02 10:12:59 UTC (rev 16314)
@@ -32,11 +32,11 @@
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e ;\
 	for py in $(PYVERS); do \
-		for test in geohash jpgrid jpiarea uint64; do \
+		for test in test/test_*.py; do \
 			PYTHONPATH=$(call pythonpath,$$py) \
-				python$$py test/test_$$test.py ;\
+				python$$py $$test ;\
 			PYTHONPATH=$(call pythonpath_dbg,$$py) \
-				python$$py-dbg test/test_$$test.py ;\
+				python$$py-dbg $$test ;\
 		done \
 	done
 endif




More information about the Python-modules-commits mailing list