Index: Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
index d5a059be956e4d231714091670361e37ebd449af..06266d3d92119b7e15c478e185dfe618e0235b4a 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py |
@@ -78,11 +78,12 @@ def main(argv, stdout, stderr): |
try: |
run_details = run(port, options, args, stderr) |
- if run_details.exit_code != -1: |
+ if run_details.exit_code != -1 and not run_details.initial_results.keyboard_interrupted: |
bot_printer = buildbot_results.BuildBotPrinter(stdout, options.debug_rwt_logging) |
bot_printer.print_results(run_details) |
return run_details.exit_code |
+ # We need to still handle KeyboardInterrupt, atleast for webkitpy unittest cases. |
except KeyboardInterrupt: |
return INTERRUPTED_EXIT_STATUS |
except BaseException as e: |