[Python-modules-commits] r31564 - in packages/python-launchpadlib/trunk/debian (2 files)
xnox at users.alioth.debian.org
xnox at users.alioth.debian.org
Fri Dec 12 09:34:10 UTC 2014
Date: Friday, December 12, 2014 @ 09:34:07
Author: xnox
Revision: 31564
Add python3 support to the auto-package test.
Modified:
packages/python-launchpadlib/trunk/debian/changelog
packages/python-launchpadlib/trunk/debian/tests/unittests
Modified: packages/python-launchpadlib/trunk/debian/changelog
===================================================================
--- packages/python-launchpadlib/trunk/debian/changelog 2014-12-10 12:14:49 UTC (rev 31563)
+++ packages/python-launchpadlib/trunk/debian/changelog 2014-12-12 09:34:07 UTC (rev 31564)
@@ -6,6 +6,7 @@
* Switch to debhelper 9.
* Switch to pybuild.
* Drop patches accepted upstream
+ * Add python3 support to the auto-package test.
-- Dimitri John Ledkov <dimitri.j.ledkov at linux.intel.com> Sat, 06 Dec 2014 01:24:49 +0000
Modified: packages/python-launchpadlib/trunk/debian/tests/unittests
===================================================================
--- packages/python-launchpadlib/trunk/debian/tests/unittests 2014-12-10 12:14:49 UTC (rev 31563)
+++ packages/python-launchpadlib/trunk/debian/tests/unittests 2014-12-12 09:34:07 UTC (rev 31564)
@@ -11,3 +11,9 @@
echo "=== python$py ==="
nosetests-$py launchpadlib.tests 2>&1
done
+
+pythons3="$(py3versions -rv)"
+for py in $pythons3; do
+ echo "=== python$py ==="
+ python$py /usr/bin/nosetests3 launchpadlib.tests 2>&1
+done
More information about the Python-modules-commits
mailing list