Skip to content

Commit 439a9eb

Browse files
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. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@226726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent e30a9cd commit 439a9eb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Tools/ChangeLog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2018-01-10 Jonathan Bedard <[email protected]>
2+
3+
REGRESSION (r226715): don't re-check number of simulators in child processes
4+
https://bugs.webkit.org/show_bug.cgi?id=181484
5+
<rdar://problem/36407151>
6+
7+
Reviewed by Aakash Jain.
8+
9+
* Scripts/webkitpy/port/ios_simulator.py:
10+
(IOSSimulatorPort.__init__): Skip the number of simulators check if simulators
11+
are already initialized.
12+
113
2018-01-10 Commit Queue <[email protected]>
214

315
Unreviewed, rolling out r226667 and r226673.

Tools/Scripts/webkitpy/port/ios_simulator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, host, port_name, **kwargs):
5050
self._device_class = optional_device_class if optional_device_class else self.DEFAULT_DEVICE_CLASS
5151
_log.debug('IOSSimulatorPort _device_class is %s', self._device_class)
5252

53-
if self.get_option('child_processes', self.default_child_processes()) > SimulatedDeviceManager.max_supported_simulators(self.host):
53+
if not SimulatedDeviceManager.INITIALIZED_DEVICES and self.get_option('child_processes', self.default_child_processes()) > SimulatedDeviceManager.max_supported_simulators(self.host):
5454
_log.warn('The specified number of Simulated devices to be used is greater than the number supported by this machine.')
5555

5656
def _device_for_worker_number_map(self):

0 commit comments

Comments
 (0)