Chromium Code Reviews| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
| index 4c2f2bca62f03947838872fbd3a489f3b1d578e3..dd8a9e8a085f99bb74915a45b9b610814779aeb6 100644 |
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
| @@ -408,4 +408,14 @@ def run(port, options, args, logging_stream, stdout): |
| printer.cleanup() |
| if __name__ == '__main__': |
| - sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr)) |
| + exit_code = main(sys.argv[1:], sys.stdout, sys.stderr) |
| + # Temporary logging to try and diagnose hangs on the Windows bots. |
| + if 'win_chromium_rel_ng' in sys.argv: |
| + print "Exiting with exit code: %d" % exit_code # pylint: disable=E1601 |
| + |
| + try: |
| + sys.exit(exit_code) |
| + finally: |
| + # Temporary logging to try and diagnose hangs on the Windows bots. |
| + if 'win_chromium_rel_ng' in sys.argv: |
| + print "sys.exit completed" # pylint: disable=E1601 |
|
Dirk Pranke
2015/11/05 22:42:31
interesting. I wouldn't have thought the finally b
|