Mercurial > hg
changeset 14339:ed0bf8e1cd28
run-tests: make --debug run in the temporary test directory
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 16 May 2011 21:54:43 +0200 |
parents | 862f8cd87546 |
children | defa319d8bb7 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)