[Python-modules-commits] r23530 - in packages/nose/trunk/debian (changelog rules)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Thu Feb 21 15:31:30 UTC 2013
Date: Thursday, February 21, 2013 @ 15:31:28
Author: mitya57-guest
Revision: 23530
Run the tests for Python 3.x during build.
Modified:
packages/nose/trunk/debian/changelog
packages/nose/trunk/debian/rules
Modified: packages/nose/trunk/debian/changelog
===================================================================
--- packages/nose/trunk/debian/changelog 2013-02-21 15:13:41 UTC (rev 23529)
+++ packages/nose/trunk/debian/changelog 2013-02-21 15:31:28 UTC (rev 23530)
@@ -8,6 +8,7 @@
* Build-depend on python-coverage (for the test suite).
* Disable some unstable tests (in multiprocessing module) to make the
package not FTBFS.
+ * Run the tests for Python 3.x during build.
[ Matthias Klose ]
* Provide entry points for all supported Python 3 versions
Modified: packages/nose/trunk/debian/rules
===================================================================
--- packages/nose/trunk/debian/rules 2013-02-21 15:13:41 UTC (rev 23529)
+++ packages/nose/trunk/debian/rules 2013-02-21 15:31:28 UTC (rev 23530)
@@ -22,16 +22,16 @@
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- # There doesn't appear to be a simple way to run the test suite under Py3k
- # yet
set -ex; \
for py in $(PYVERS); do \
- case $$py in \
- python2*) export XPYVERS="$(PYVERS)";; \
- python3*) export XPYVERS="$(PY3VERS)";; \
- esac; \
+ export XPYVERS="$(PYVERS)"; \
$$py setup.py test; \
done
+ for py in $(PY3VERS); do \
+ export XPY3VERS="$(PY3VERS)"; \
+ $$py setup.py build_tests; \
+ $$py selftest.py; \
+ done
endif
override_dh_auto_clean:
More information about the Python-modules-commits
mailing list