Mercurial > hg-stable
changeset 18448:e760414be201
run-tests.py: backout "don't use console for stdin when running in debug mode"
f5842787a958 caused that some kind of interactive debugging no longer was
possible - such as running hg with --debugger in a test run with run-tests.py
--debug .
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 18 Jan 2013 01:16:16 +0100 |
parents | 7159426c8d13 |
children | 20462259b92a |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri Jan 18 23:41:48 2013 +0100 +++ b/tests/run-tests.py Fri Jan 18 01:16:16 2013 +0100 @@ -751,8 +751,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, cwd=wd, stdin=subprocess.PIPE) - proc.stdin.close() + proc = subprocess.Popen(cmd, shell=True, cwd=wd) ret = proc.wait() return (ret, None)