[Python-apps-commits] r11777 - in packages/pylint/trunk/debian (changelog rules)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sun Mar 1 18:11:05 UTC 2015
Date: Sunday, March 1, 2015 @ 18:11:04
Author: morph
Revision: 11777
* debian/rules
- run tests at build time; Closes: #575686
Modified:
packages/pylint/trunk/debian/changelog
packages/pylint/trunk/debian/rules
Modified: packages/pylint/trunk/debian/changelog
===================================================================
--- packages/pylint/trunk/debian/changelog 2015-03-01 12:53:27 UTC (rev 11776)
+++ packages/pylint/trunk/debian/changelog 2015-03-01 18:11:04 UTC (rev 11777)
@@ -4,8 +4,10 @@
* build doc at build time and provide a -doc package
* debian/{patches/build_doc.patch, rules}
- use the built code instead of the system-wide to build doc
+ * debian/rules
+ - run tests at build time; Closes: #575686
- -- Sandro Tosi <morph at debian.org> Sun, 01 Mar 2015 12:52:51 +0000
+ -- Sandro Tosi <morph at debian.org> Sun, 01 Mar 2015 18:10:47 +0000
pylint (1.4.1-1) experimental; urgency=medium
Modified: packages/pylint/trunk/debian/rules
===================================================================
--- packages/pylint/trunk/debian/rules 2015-03-01 12:53:27 UTC (rev 11776)
+++ packages/pylint/trunk/debian/rules 2015-03-01 18:11:04 UTC (rev 11777)
@@ -22,8 +22,12 @@
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
- # use the default python version to select the script dir to run the tests
- -/bin/sh ./test/fulltest.sh $(PYVERS)
+ # WARN: we need to ignore the test results as py3k compat is not there yet
+ -#set -e; \
+ for python in $(PYTHON2) $(PYTHON3) ; do \
+ LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \
+ PYTHONPATH=$$LIB $$python -m unittest discover -s test/ ; \
+ done
endif
More information about the Python-apps-commits
mailing list