[py-svn] r37462 - in py/trunk/py/test: . terminal
hpk at codespeak.net
hpk at codespeak.net
Sun Jan 28 12:00:19 CET 2007
Author: hpk
Date: Sun Jan 28 12:00:17 2007
New Revision: 37462
Modified:
py/trunk/py/test/config.py
py/trunk/py/test/terminal/remote.py
Log:
allow the remote side to run in verbose mode
Modified: py/trunk/py/test/config.py
==============================================================================
--- py/trunk/py/test/config.py (original)
+++ py/trunk/py/test/config.py Sun Jan 28 12:00:17 2007
@@ -226,6 +226,7 @@
class override:
def __init__(self, d):
self.__dict__.update(d)
+ self.__file__ = "<options from remote>"
args, conftestdict, cmdlineopts = repr
self.args = [self.topdir.join(x) for x in args]
self.conftest.setinitial(self.args)
Modified: py/trunk/py/test/terminal/remote.py
==============================================================================
--- py/trunk/py/test/terminal/remote.py (original)
+++ py/trunk/py/test/terminal/remote.py Sun Jan 28 12:00:17 2007
@@ -130,6 +130,8 @@
config.option.looponfailing = False
config.option.usepdb = False
config.option.executable = None
+ if failures:
+ config.option.verbose = True
session = config.initsession()
session.shouldclose = channel.isclosed
More information about the pytest-commit
mailing list