The API for creating simulated devices and physical devices is identical. We should leverage this fact and create all devices in the DevicePort class.
<rdar://problem/46344757>
Created attachment 356031 [details] Patch
Comment on attachment 356031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356031&action=review lgtm with typo fix > Tools/Scripts/webkitpy/port/device_port.py:130 > + raise RuntimeError('Not enought connected devices for {} processes'.format(self.child_processes())) nit: typo enough
Comment on attachment 356031 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356031&action=review >> Tools/Scripts/webkitpy/port/device_port.py:130 >> + raise RuntimeError('Not enought connected devices for {} processes'.format(self.child_processes())) > > nit: typo enough That should read "too few connected devices". Can this error fire for simulators?
(In reply to Simon Fraser (smfr) from comment #4) > Comment on attachment 356031 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=356031&action=review > > >> Tools/Scripts/webkitpy/port/device_port.py:130 > >> + raise RuntimeError('Not enought connected devices for {} processes'.format(self.child_processes())) > > > > nit: typo enough > > That should read "too few connected devices". Can this error fire for > simulators? No, it cannot. Simulators will boot enough devices to match the number specified.
Created attachment 356042 [details] Patch for landing
Comment on attachment 356042 [details] Patch for landing Clearing flags on attachment: 356042 Committed r238694: <https://trac.webkit.org/changeset/238694>
All reviewed patches have been landed. Closing bug.