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..968877bf87b510d139e519c3d85d36bb14fa6483 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,8 @@ 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) |
+ # Some temporary logging to try and diagnose hangs on the Windows bots. |
+ if 'win_chromium_rel_ng' in sys.argv: |
ojan
2015/11/05 22:08:27
This is a bit hacky, but I didn't really want to p
|
+ print "Exiting with exit code: %d" % exit_code # pylint: disable=E1601 |
+ sys.exit(exit_code) |