Changeset 213926 in webkit
- Timestamp:
- Mar 14, 2017 12:16:36 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r213918 r213926 1 2017-03-14 Jonathan Bedard <jbedard@apple.com> 2 3 webkitpy: Efficient app installation for device testing 4 https://bugs.webkit.org/show_bug.cgi?id=169054 5 <rdar://problem/30790207> 6 7 Reviewed by Daniel Bates. 8 9 We should only install an app on a device once, not every time the app is run. 10 Move app installation to setup. 11 12 * Scripts/webkitpy/port/ios.py: 13 (IOSPort.setup_test_run): Install app to device. 14 * Scripts/webkitpy/port/simulator_process.py: 15 (SimulatorProcess.__init__): Remove app installation. 16 1 17 2017-03-14 Fujii Hironori <Hironori.Fujii@sony.com> 2 18 -
trunk/Tools/Scripts/webkitpy/port/ios.py
r213530 r213926 83 83 def setup_test_run(self, device_class=None): 84 84 self._create_devices(device_class) 85 86 for i in xrange(self.child_processes()): 87 device = self.device_for_worker_number(i) 88 _log.debug('Installing to {}'.format(device)) 89 # Without passing DYLD_LIBRARY_PATH, libWebCoreTestSupport cannot be loaded and DRT/WKTR will crash pre-launch, 90 # leaving a crash log which will be picked up in results. No DYLD_FRAMEWORK_PATH will also cause the DRT/WKTR to 91 # crash, but this crash will occur post-launch, after install_app has already killed the process. 92 if not device.install_app(self._path_to_driver(), {'DYLD_LIBRARY_PATH': self._build_path()}): 93 raise RuntimeError('Failed to install app {} on device {}'.format(self._path_to_driver(), device.udid)) -
trunk/Tools/Scripts/webkitpy/port/simulator_process.py
r213236 r213926 60 60 self._bundle_id = port_obj.app_identifier_from_bundle(cmd[0]) 61 61 self._device = port_obj.device_for_worker_number(worker_number) 62 if not self._device.install_app(cmd[0], env):63 raise RuntimeError('Failed to install app {} on simulator device {}'.format(cmd[0], self._device.udid))64 62 env['IPC_IDENTIFIER'] = self._bundle_id + '-' + self._device.udid 65 63
Note: See TracChangeset
for help on using the changeset viewer.