[Python-modules-commits] r21244 - in packages/gamera/trunk/debian (rules run-tests.py)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Mon Apr 16 18:07:57 UTC 2012
Date: Monday, April 16, 2012 @ 18:07:56
Author: jwilk
Revision: 21244
Add --verbose directly in debian/run-tests.py.
Modified:
packages/gamera/trunk/debian/rules
packages/gamera/trunk/debian/run-tests.py
Modified: packages/gamera/trunk/debian/rules
===================================================================
--- packages/gamera/trunk/debian/rules 2012-04-16 17:59:20 UTC (rev 21243)
+++ packages/gamera/trunk/debian/rules 2012-04-16 18:07:56 UTC (rev 21244)
@@ -41,8 +41,8 @@
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
set -x -e; \
for python in $(shell pyversions -r); do \
- PYTHONPATH=$(call pythonpath,$$python) $$python debian/run-tests.py --verbose; \
- PYTHONPATH=$(call pythonpath_dbg,$$python) $$python-dbg debian/run-tests.py --verbose; \
+ PYTHONPATH=$(call pythonpath,$$python) $$python debian/run-tests.py; \
+ PYTHONPATH=$(call pythonpath_dbg,$$python) $$python-dbg debian/run-tests.py; \
done
endif
Modified: packages/gamera/trunk/debian/run-tests.py
===================================================================
--- packages/gamera/trunk/debian/run-tests.py 2012-04-16 17:59:20 UTC (rev 21243)
+++ packages/gamera/trunk/debian/run-tests.py 2012-04-16 18:07:56 UTC (rev 21244)
@@ -1,7 +1,9 @@
import os
+import sys
import gamera.paths
os.chdir(os.path.join(os.path.dirname(__file__), '..', 'tests'))
gamera.paths.test = os.path.join('..', 'gamera', 'test')
+sys.argv[1:1] = ['--verbose']
execfile('/usr/bin/nosetests')
More information about the Python-modules-commits
mailing list