Changeset 252727 in webkit
- Timestamp:
- Nov 20, 2019, 9:12:56 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/webkitpy/xcode/simulated_device.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r252722 r252727 1 2019-11-20 Jonathan Bedard <jbedard@apple.com> 2 3 run-webkit-tests: Make usability test on booting simulators more robust 4 https://bugs.webkit.org/show_bug.cgi?id=204423 5 <rdar://problem/57364735> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * Scripts/webkitpy/xcode/simulated_device.py: 10 (SimulatedDevice.is_usable): Use regular expressions to find home-screen service. 11 1 12 2019-11-20 Jonathan Bedard <jbedard@apple.com> 2 13 -
trunk/Tools/Scripts/webkitpy/xcode/simulated_device.py
r252722 r252727 560 560 return True 561 561 562 for line in self.executive.run_command([SimulatedDeviceManager.xcrun, 'simctl', 'spawn', self.udid, 'launchctl', 'print', 'system'], decode_output=False).splitlines():563 if home_screen_service in line:564 return True562 system_processes = self.executive.run_command([SimulatedDeviceManager.xcrun, 'simctl', 'spawn', self.udid, 'launchctl', 'print', 'system'], decode_output=False) 563 if re.search(r'"{}"'.format(home_screen_service), system_processes) or re.search(r'A\s+{}'.format(home_screen_service), system_processes): 564 return True 565 565 return False 566 566
Note:
See TracChangeset
for help on using the changeset viewer.