Title: [238966] trunk/Tools
Revision
238966
Author
[email protected]
Date
2018-12-07 13:15:17 -0800 (Fri, 07 Dec 2018)

Log Message

REGRESSION: run-webkit-tests may fail when using booted simulators (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=192470
<rdar://problem/46532001>

Unreviewed infrastructure fix.

* Scripts/webkitpy/port/device_port.py:
(DevicePort.setup_test_run): Check that the number of initialized devices matches the
number of child processes.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (238965 => 238966)


--- trunk/Tools/ChangeLog	2018-12-07 21:10:13 UTC (rev 238965)
+++ trunk/Tools/ChangeLog	2018-12-07 21:15:17 UTC (rev 238966)
@@ -1,3 +1,15 @@
+2018-12-07  Jonathan Bedard  <[email protected]>
+
+        REGRESSION: run-webkit-tests may fail when using booted simulators (Follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=192470
+        <rdar://problem/46532001>
+
+        Unreviewed infrastructure fix.
+
+        * Scripts/webkitpy/port/device_port.py:
+        (DevicePort.setup_test_run): Check that the number of initialized devices matches the
+        number of child processes.
+
 2018-12-07  Aakash Jain  <[email protected]>
 
         [ews-app] Send bug id as a build property

Modified: trunk/Tools/Scripts/webkitpy/port/device_port.py (238965 => 238966)


--- trunk/Tools/Scripts/webkitpy/port/device_port.py	2018-12-07 21:10:13 UTC (rev 238965)
+++ trunk/Tools/Scripts/webkitpy/port/device_port.py	2018-12-07 21:15:17 UTC (rev 238966)
@@ -159,7 +159,7 @@
 
         if not self.devices():
             raise RuntimeError('No devices are available for testing')
-        if self.default_child_processes() < self.child_processes():
+        if len(self.DEVICE_MANAGER.INITIALIZED_DEVICES) < self.child_processes():
             raise RuntimeError('To few connected devices for {} processes'.format(self.child_processes()))
 
         self._install()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to