Changeset 238763 in webkit
- Timestamp:
- Nov 30, 2018 4:26:01 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r238755 r238763 1 2018-11-30 Jonathan Bedard <jbedard@apple.com> 2 3 REGRESSION (r238749): run-api-tests dies with AttributeError: 'IOSSimulatorPort' object has no attribute 'DEFAULT_DEVICE_CLASS' 4 https://bugs.webkit.org/show_bug.cgi?id=192257 5 <rdar://problem/46384671> 6 7 Reviewed by Stephanie Lewis. 8 9 Follow-up fix for r238749. 10 11 * Scripts/webkitpy/api_tests/manager.py: 12 (Manager._initialize_devices): Use DEFAULT_DEVICE_TYPE instead of DEFAULT_DEVICE_CLASS. 13 1 14 2018-11-30 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Tools/Scripts/webkitpy/api_tests/manager.py
r235252 r238763 27 27 from webkitpy.api_tests.runner import Runner 28 28 from webkitpy.common.system.executive import ScriptError 29 from webkitpy.xcode.device_type import DeviceType30 29 from webkitpy.xcode.simulated_device import DeviceRequest, SimulatedDeviceManager 31 30 … … 130 129 def _initialize_devices(self): 131 130 if 'simulator' in self._port.port_name: 132 SimulatedDeviceManager.initialize_devices(DeviceRequest( DeviceType.from_string(self._port.DEFAULT_DEVICE_CLASS), allow_incomplete_match=True), self.host, simulator_ui=False)131 SimulatedDeviceManager.initialize_devices(DeviceRequest(self._port.DEFAULT_DEVICE_TYPE, allow_incomplete_match=True), self.host, simulator_ui=False) 133 132 elif 'device' in self._port.port_name: 134 133 raise RuntimeError('Running api tests on {} is not supported'.format(self._port.port_name))
Note: See TracChangeset
for help on using the changeset viewer.