Changeset 238763 in webkit


Ignore:
Timestamp:
Nov 30, 2018 4:26:01 PM (5 years ago)
Author:
Jonathan Bedard
Message:

REGRESSION (r238749): run-api-tests dies with AttributeError: 'IOSSimulatorPort' object has no attribute 'DEFAULT_DEVICE_CLASS'
https://bugs.webkit.org/show_bug.cgi?id=192257
<rdar://problem/46384671>

Reviewed by Stephanie Lewis.

Follow-up fix for r238749.

  • Scripts/webkitpy/api_tests/manager.py:

(Manager._initialize_devices): Use DEFAULT_DEVICE_TYPE instead of DEFAULT_DEVICE_CLASS.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r238755 r238763  
     12018-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
    1142018-11-30  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Tools/Scripts/webkitpy/api_tests/manager.py

    r235252 r238763  
    2727from webkitpy.api_tests.runner import Runner
    2828from webkitpy.common.system.executive import ScriptError
    29 from webkitpy.xcode.device_type import DeviceType
    3029from webkitpy.xcode.simulated_device import DeviceRequest, SimulatedDeviceManager
    3130
     
    130129    def _initialize_devices(self):
    131130        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)
    133132        elif 'device' in self._port.port_name:
    134133            raise RuntimeError('Running api tests on {} is not supported'.format(self._port.port_name))
Note: See TracChangeset for help on using the changeset viewer.