Title: [226726] trunk/Tools
Revision
226726
Author
[email protected]
Date
2018-01-10 11:58:25 -0800 (Wed, 10 Jan 2018)

Log Message

REGRESSION (r226715): don't re-check number of simulators in child processes
https://bugs.webkit.org/show_bug.cgi?id=181484
<rdar://problem/36407151>

Reviewed by Aakash Jain.

* Scripts/webkitpy/port/ios_simulator.py:
(IOSSimulatorPort.__init__): Skip the number of simulators check if simulators
are already initialized.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (226725 => 226726)


--- trunk/Tools/ChangeLog	2018-01-10 19:41:12 UTC (rev 226725)
+++ trunk/Tools/ChangeLog	2018-01-10 19:58:25 UTC (rev 226726)
@@ -1,3 +1,15 @@
+2018-01-10  Jonathan Bedard  <[email protected]>
+
+        REGRESSION (r226715): don't re-check number of simulators in child processes
+        https://bugs.webkit.org/show_bug.cgi?id=181484
+        <rdar://problem/36407151>
+
+        Reviewed by Aakash Jain.
+
+        * Scripts/webkitpy/port/ios_simulator.py:
+        (IOSSimulatorPort.__init__): Skip the number of simulators check if simulators
+        are already initialized.
+
 2018-01-10  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r226667 and r226673.

Modified: trunk/Tools/Scripts/webkitpy/port/ios_simulator.py (226725 => 226726)


--- trunk/Tools/Scripts/webkitpy/port/ios_simulator.py	2018-01-10 19:41:12 UTC (rev 226725)
+++ trunk/Tools/Scripts/webkitpy/port/ios_simulator.py	2018-01-10 19:58:25 UTC (rev 226726)
@@ -50,7 +50,7 @@
         self._device_class = optional_device_class if optional_device_class else self.DEFAULT_DEVICE_CLASS
         _log.debug('IOSSimulatorPort _device_class is %s', self._device_class)
 
-        if self.get_option('child_processes', self.default_child_processes()) > SimulatedDeviceManager.max_supported_simulators(self.host):
+        if not SimulatedDeviceManager.INITIALIZED_DEVICES and self.get_option('child_processes', self.default_child_processes()) > SimulatedDeviceManager.max_supported_simulators(self.host):
             _log.warn('The specified number of Simulated devices to be used is greater than the number supported by this machine.')
 
     def _device_for_worker_number_map(self):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to