Checking the number of simulators to be run against the maximum number of simulators a machine can support only makes sense before those simulators have been initialized.
<rdar://problem/36407151>
Created attachment 330916 [details] Patch
Comment on attachment 330916 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=330916&action=review > Tools/Scripts/webkitpy/port/ios_simulator.py:53 > + if not SimulatedDeviceManager.INITIALIZED_DEVICES and self.get_option('child_processes', self.default_child_processes()) > SimulatedDeviceManager.max_supported_simulators(self.host): Just for future reference, max_supported_simulators seems like a misleading name, it should be something like current_num_supported_simulators. We wouldn't had this issue if max_supported_simulators always return the same value (maximum number of simulators supported by the machine).
Comment on attachment 330916 [details] Patch Clearing flags on attachment: 330916 Committed r226726: <https://trac.webkit.org/changeset/226726>
All reviewed patches have been landed. Closing bug.