[Python-apps-commits] r12681 - in packages/pylint/trunk/debian (changelog rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Jan 3 14:24:08 UTC 2016


    Date: Sunday, January 3, 2016 @ 14:24:07
  Author: morph
Revision: 12681

adapt unittests execution to new upstream code

Modified:
  packages/pylint/trunk/debian/changelog
  packages/pylint/trunk/debian/rules

Modified: packages/pylint/trunk/debian/changelog
===================================================================
--- packages/pylint/trunk/debian/changelog	2016-01-03 13:13:58 UTC (rev 12680)
+++ packages/pylint/trunk/debian/changelog	2016-01-03 14:24:07 UTC (rev 12681)
@@ -11,8 +11,9 @@
     Closes: #802126
   * debian/rules
     - install README.rst (README was renamed)
+    - adapt unittests execution to new upstream code
 
- -- Sandro Tosi <morph at debian.org>  Sun, 03 Jan 2016 13:12:59 +0000
+ -- Sandro Tosi <morph at debian.org>  Sun, 03 Jan 2016 14:23:48 +0000
 
 pylint (1.4.4-1) unstable; urgency=medium
 

Modified: packages/pylint/trunk/debian/rules
===================================================================
--- packages/pylint/trunk/debian/rules	2016-01-03 13:13:58 UTC (rev 12680)
+++ packages/pylint/trunk/debian/rules	2016-01-03 14:24:07 UTC (rev 12681)
@@ -26,7 +26,9 @@
 	-#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/ ; \
+		cd build ; \
+		PYTHONPATH=$(CURDIR)/$$LIB $$python -m unittest discover -s $(CURDIR)/pylint/test/ ; \
+		cd .. ; \
 	done
 endif
 




More information about the Python-apps-commits mailing list