# HG changeset patch # User Patrick Mezard # Date 1305575683 -7200 # Node ID b6a39effa43233f8e02955cae4113ec8ca16ac34 # Parent 83e828101e3c1f38626e4d09af7e176d99e799a3 run-tests: make --debug run in the temporary test directory [ original upstream message ] diff -r 83e828101e3c -r b6a39effa432 tests/run-tests.py --- a/tests/run-tests.py Mon May 16 21:52:28 2011 +0200 +++ b/tests/run-tests.py Mon May 16 21:54:43 2011 +0200 @@ -638,7 +638,7 @@ Return a tuple (exitcode, output). output is None in debug mode.""" # TODO: Use subprocess.Popen if we're running on Python 2.4 if options.debug: - proc = subprocess.Popen(cmd, shell=True) + proc = subprocess.Popen(cmd, shell=True, cwd=wd) ret = proc.wait() return (ret, None)