[Python-modules-commits] r20527 - in packages/cssutils/trunk/debian (rules)
cjsmo-guest at users.alioth.debian.org
cjsmo-guest at users.alioth.debian.org
Wed Feb 22 04:32:48 UTC 2012
Date: Wednesday, February 22, 2012 @ 04:32:44
Author: cjsmo-guest
Revision: 20527
actually run unittests on all supported py versions
Modified:
packages/cssutils/trunk/debian/rules
Modified: packages/cssutils/trunk/debian/rules
===================================================================
--- packages/cssutils/trunk/debian/rules 2012-02-21 21:43:59 UTC (rev 20526)
+++ packages/cssutils/trunk/debian/rules 2012-02-22 04:32:44 UTC (rev 20527)
@@ -4,6 +4,9 @@
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
+PYvrVERS := $(shell pyversions -vr)
+PY3vrVERS := $(shell py3versions -vr)
+
DESTDIR2 := $(CURDIR)/debian/python-cssutils
DESTDIR3 := $(CURDIR)/debian/python3-cssutils
@@ -18,8 +21,8 @@
override_dh_auto_test:
set -ex; \
- for py in $(PYVERS); do \
- nosetests -v \
+ for py in $(PYvrVERS); do \
+ nosetests-$$py -v \
--exclude='test_parseString' \
--exclude='test_parseFile' \
--exclude='test_parseUrl' \
@@ -29,8 +32,8 @@
--where $(CURDIR)/build/lib.linux-*/tests; \
done
set -ex; \
- for py in $(PY3VERS); do \
- nosetests3 -v \
+ for py in $(PY3vrVERS); do \
+ nosetests-$$py -v \
--exclude='test_parseString' \
--exclude='test_parseFile' \
--exclude='test_parseUrl' \
More information about the Python-modules-commits
mailing list