Title: [243936] trunk/Tools
Revision
243936
Author
[email protected]
Date
2019-04-05 10:14:23 -0700 (Fri, 05 Apr 2019)

Log Message

webkitpy: Don't run subsequent rounds if interrupted
https://bugs.webkit.org/show_bug.cgi?id=196646

Reviewed by Aakash Jain.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager.run): Bail out if interrupted.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (243935 => 243936)


--- trunk/Tools/ChangeLog	2019-04-05 16:30:34 UTC (rev 243935)
+++ trunk/Tools/ChangeLog	2019-04-05 17:14:23 UTC (rev 243936)
@@ -1,3 +1,13 @@
+2019-04-05  Jonathan Bedard  <[email protected]>
+
+        webkitpy: Don't run subsequent rounds if interrupted
+        https://bugs.webkit.org/show_bug.cgi?id=196646
+
+        Reviewed by Aakash Jain.
+
+        * Scripts/webkitpy/layout_tests/controllers/manager.py:
+        (Manager.run): Bail out if interrupted.
+
 2019-04-05  Sihui Liu  <[email protected]>
 
         Test sessionStorage in PSON private browsing mode

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py (243935 => 243936)


--- trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2019-04-05 16:30:34 UTC (rev 243935)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py	2019-04-05 17:14:23 UTC (rev 243936)
@@ -290,6 +290,10 @@
             retry_results = retry_results.merge(temp_retry_results) if retry_results else temp_retry_results
             enabled_pixel_tests_in_retry |= temp_enabled_pixel_tests_in_retry
 
+            if (initial_results and (initial_results.interrupted or initial_results.keyboard_interrupted)) or \
+                    (retry_results and (retry_results.interrupted or retry_results.keyboard_interrupted)):
+                break
+
         # Used for final logging, max_child_processes_for_run is most relevant here.
         self._options.child_processes = max_child_processes_for_run
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to