[Python-modules-commits] r21709 - in packages/python-docutils/trunk/debian (changelog rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri May 11 22:41:13 UTC 2012
Date: Friday, May 11, 2012 @ 22:41:12
Author: jwilk
Revision: 21709
Run Python 2.X tests before building Python 3.X code.
Previously time required to build Python 3.X code were wasted if Python 2.X tests failed.
Modified:
packages/python-docutils/trunk/debian/changelog
packages/python-docutils/trunk/debian/rules
Modified: packages/python-docutils/trunk/debian/changelog
===================================================================
--- packages/python-docutils/trunk/debian/changelog 2012-05-11 21:42:09 UTC (rev 21708)
+++ packages/python-docutils/trunk/debian/changelog 2012-05-11 22:41:12 UTC (rev 21709)
@@ -23,8 +23,10 @@
and python3-roman.
* Cherry-pick upstream patch to fix encoding issues with the include
directive. (parsers.rst.directives.misc-encoding.diff)
+ * Run Python 2.X tests before building Python 3.X code. Previously time
+ required to build Python 3.X code were wasted if Python 2.X tests failed.
- -- Jakub Wilk <jwilk at debian.org> Fri, 11 May 2012 23:39:45 +0200
+ -- Jakub Wilk <jwilk at debian.org> Sat, 12 May 2012 00:15:01 +0200
python-docutils (0.8.1-6) unstable; urgency=low
Modified: packages/python-docutils/trunk/debian/rules
===================================================================
--- packages/python-docutils/trunk/debian/rules 2012-05-11 21:42:09 UTC (rev 21708)
+++ packages/python-docutils/trunk/debian/rules 2012-05-11 22:41:12 UTC (rev 21709)
@@ -36,11 +36,13 @@
fi
# Build modules for Python 2.X
python setup.py build --build-lib=build/py2/
+ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
+ # Run test suite for Python 2.X:
+ cd build/py2/ && $(python_all) ../../test/alltests.py --verbose
+endif
# Build modules for Python 3.X
python3 setup.py build --build-lib=build/py3/
-ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
- # Run test suite for Python 2.X:
- cd build/py2/ && $(python_all) ../../test/alltests.py --verbose
+ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
# Run test suite for Python 3.X:
cd build/py3/ && $(python3_all) test/alltests.py --verbose
endif
More information about the Python-modules-commits
mailing list