[Python-apps-commits] r10879 - in packages/planet-venus/trunk/debian (rules)

obergix at users.alioth.debian.org obergix at users.alioth.debian.org
Wed May 21 13:51:57 UTC 2014


    Date: Wednesday, May 21, 2014 @ 13:51:56
  Author: obergix
Revision: 10879

Prepare for the future : runtests.py doesn't set return code

Modified:
  packages/planet-venus/trunk/debian/rules

Modified: packages/planet-venus/trunk/debian/rules
===================================================================
--- packages/planet-venus/trunk/debian/rules	2014-05-21 13:46:01 UTC (rev 10878)
+++ packages/planet-venus/trunk/debian/rules	2014-05-21 13:51:56 UTC (rev 10879)
@@ -32,8 +32,10 @@
 	dh_fixperms
 	find debian/planet-venus/usr/share/pyshared/planet/ -type f -name '*.py' -print0 2>/dev/null | xargs -0r chmod 644
 
+# Tests disabled at build time, cause they're failing. But pass them with autopkgtest (see debian/tests/control)
 # override_dh_auto_test:
-# 	python runtests.py -v
+# 	#python runtests.py -v
+#	python -m unittest discover -v -s . tests -t . -p 'test_*.py'
 # 	# Re-run to for verifying that individually, 'test_foaf_document' passes (has produced "RedlandError: 'XML parser error: xmlParseCharRef: invalid xmlChar value 12'" through runtests.py above)
 # 	python tests/test_foaf.py
 




More information about the Python-apps-commits mailing list