Summary: | [iOS] run-webkit-tests --ios-sim dies with an error; fails to parse Apple Internal runtime in simctl output | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||
Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, ddkilzer, glenn, jake.nielsen.webkit | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | iPhone / iPad | ||||||
OS: | iOS 8.1 | ||||||
Attachments: |
|
Description
Daniel Bates
2015-01-21 17:12:48 PST
Created attachment 245102 [details]
Patch
I am not happy with this patch. The Simulator class and is fragile since it depends on parsing the output of the simctl tool, which may change. We should find a better way to query the state of simulator devices, runtimes, and their capabilities. One idea is to use a similiar approach as we do in webkitdirs.pm to support the scripts run-webkit-app and run-safari and read the device.plist files directly in ~/Library/Developer/CoreSimulator/Devices instead of querying simctl for the information in these files. It is a larger refactoring to implement such a change so I suggest we defer it to another patch.
Comment on attachment 245102 [details]
Patch
r=me
Comment on attachment 245102 [details] Patch Clearing flags on attachment: 245102 Committed r178925: <http://trac.webkit.org/changeset/178925> All reviewed patches have been landed. Closing bug. |