Changeset 87757 in webkit
- Timestamp:
- May 31, 2011 3:26:55 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r87751 r87757 1 2011-05-31 Dirk Pranke <dpranke@chromium.org> 2 3 Reviewed by Tony Chang. 4 5 new-run-webkit-tests: doesn't wait for children if it gets a ctrl-c 6 https://bugs.webkit.org/show_bug.cgi?id=60241 7 8 * Scripts/new-run-webkit-tests: 9 1 10 2011-05-31 Eric Seidel <eric@webkit.org> 2 11 -
trunk/Tools/Scripts/new-run-webkit-tests
r84467 r87757 51 51 module_path = os.path.join(script_dir, 'webkitpy', 'layout_tests', 'run_webkit_tests.py') 52 52 cmd = [sys.executable, module_path] + sys.argv[1:] 53 proc = subprocess.Popen(cmd, env=env) 53 54 try: 54 sys.exit(subprocess.call(cmd, env=env))55 proc.wait() 55 56 except KeyboardInterrupt: 56 # this mirrors what the shell normally does 57 sys.exit(signal.SIGINT + 128) 57 # We need a second wait in order to make sure the subprocess exits fully. 58 # FIXME: It would be nice if we could put a timeout on this. 59 proc.wait() 60 sys.exit(proc.returncode)
Note: See TracChangeset
for help on using the changeset viewer.