Tools/ChangeLog

 12011-05-04 Dirk Pranke <dpranke@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 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
1102011-05-03 Dirk Pranke <dpranke@chromium.org>
211
312 Unreviewed, rolling out r85659.

Tools/Scripts/new-run-webkit-tests

@@if __name__ == '__main__':
5050 env['PYTHONPATH'] = script_dir
5151 module_path = os.path.join(script_dir, 'webkitpy', 'layout_tests', 'run_webkit_tests.py')
5252 cmd = [sys.executable, module_path] + sys.argv[1:]
 53 proc = None
5354 try:
54  sys.exit(subprocess.call(cmd, env=env))
 55 proc = subprocess.Popen(cmd, env=env)
 56 proc.wait()
5557 except KeyboardInterrupt:
56  # this mirrors what the shell normally does
57  sys.exit(signal.SIGINT + 128)
 58 pass
 59 finally:
 60 # We need a second wait in order to make sure the subprocess exits fully.
 61 # FIXME: It would be nice if we could put a timeout on this.
 62 if proc:
 63 proc.wait()
 64 sys.exit(proc.returncode)