Changeset 87757 in webkit


Ignore:
Timestamp:
May 31, 2011 3:26:55 PM (13 years ago)
Author:
dpranke@chromium.org
Message:

2011-05-31 Dirk Pranke <dpranke@chromium.org>

Reviewed by Tony Chang.

new-run-webkit-tests: doesn't wait for children if it gets a ctrl-c
https://bugs.webkit.org/show_bug.cgi?id=60241

  • Scripts/new-run-webkit-tests:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r87751 r87757  
     12011-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
    1102011-05-31  Eric Seidel  <eric@webkit.org>
    211
  • trunk/Tools/Scripts/new-run-webkit-tests

    r84467 r87757  
    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 = subprocess.Popen(cmd, env=env)
    5354    try:
    54         sys.exit(subprocess.call(cmd, env=env))
     55        proc.wait()
    5556    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.