##// END OF EJS Templates
run-tests: make --debug run in the temporary test directory
Patrick Mezard -
r14339:ed0bf8e1 default
parent child Browse files
Show More
@@ -638,7 +638,7 b' def run(cmd, wd, options, replacements):'
638 Return a tuple (exitcode, output). output is None in debug mode."""
638 Return a tuple (exitcode, output). output is None in debug mode."""
639 # TODO: Use subprocess.Popen if we're running on Python 2.4
639 # TODO: Use subprocess.Popen if we're running on Python 2.4
640 if options.debug:
640 if options.debug:
641 proc = subprocess.Popen(cmd, shell=True)
641 proc = subprocess.Popen(cmd, shell=True, cwd=wd)
642 ret = proc.wait()
642 ret = proc.wait()
643 return (ret, None)
643 return (ret, None)
644
644
General Comments 0
You need to be logged in to leave comments. Login now