Title: [249965] trunk/Tools
- Revision
- 249965
- Author
- [email protected]
- Date
- 2019-09-17 10:50:26 -0700 (Tue, 17 Sep 2019)
Log Message
run-webkit-tests: Driver.do_post_tests_work() is never called when `stop_when_done` is true in Driver.run_test()
<https://webkit.org/b/201873>
Reviewed by Jonathan Bedard.
* Scripts/webkitpy/port/driver.py:
(Driver.run_test): Call self.do_post_tests_work() when a test
shard has completed, but didn't crash or time out.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (249964 => 249965)
--- trunk/Tools/ChangeLog 2019-09-17 17:46:04 UTC (rev 249964)
+++ trunk/Tools/ChangeLog 2019-09-17 17:50:26 UTC (rev 249965)
@@ -1,3 +1,14 @@
+2019-09-17 David Kilzer <[email protected]>
+
+ run-webkit-tests: Driver.do_post_tests_work() is never called when `stop_when_done` is true in Driver.run_test()
+ <https://webkit.org/b/201873>
+
+ Reviewed by Jonathan Bedard.
+
+ * Scripts/webkitpy/port/driver.py:
+ (Driver.run_test): Call self.do_post_tests_work() when a test
+ shard has completed, but didn't crash or time out.
+
2019-09-17 Chris Dumez <[email protected]>
REGRESSION (r249923): ASSERTION FAILED: sessionID == WebProcess::singleton().sessionID() in WebCore::SWClientConnection *WebKit::WebServiceWorkerProvider::existingServiceWorkerConnectionForSession(PAL::SessionID)
Modified: trunk/Tools/Scripts/webkitpy/port/driver.py (249964 => 249965)
--- trunk/Tools/Scripts/webkitpy/port/driver.py 2019-09-17 17:46:04 UTC (rev 249964)
+++ trunk/Tools/Scripts/webkitpy/port/driver.py 2019-09-17 17:50:26 UTC (rev 249965)
@@ -221,6 +221,8 @@
pid = self._server_process.pid()
if stop_when_done or crashed or timed_out:
+ if stop_when_done and not (crashed or timed_out):
+ self.do_post_tests_work()
# We call stop() even if we crashed or timed out in order to get any remaining stdout/stderr output.
# In the timeout case, we kill the hung process as well.
out, err = self._server_process.stop(self._port.driver_stop_timeout() if stop_when_done else 0.0)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes