RESOLVED FIXED193362
webkitpy: Support alternate simctl device list output
https://bugs.webkit.org/show_bug.cgi?id=193362
Summary webkitpy: Support alternate simctl device list output
Jonathan Bedard
Reported 2019-01-11 13:45:04 PST
There are a few different variations of simctl device list outputs, we should support them.
Attachments
Patch (1.91 KB, patch)
2019-01-11 13:52 PST, Jonathan Bedard
no flags
Patch (1.86 KB, patch)
2019-01-11 14:11 PST, Jonathan Bedard
no flags
Patch (1.45 KB, patch)
2019-01-14 13:20 PST, Jonathan Bedard
lforschler: review+
Jonathan Bedard
Comment 1 2019-01-11 13:45:21 PST
Jonathan Bedard
Comment 2 2019-01-11 13:52:24 PST
Lucas Forschler
Comment 3 2019-01-11 14:07:33 PST
Comment on attachment 358939 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358939&action=review > Tools/Scripts/webkitpy/xcode/simulated_device.py:137 > + for devices_for_runtime in simctl_json['devices']: it seems strange to set devices_for_runtime to an empty list, then use it as an iterator here?
Jonathan Bedard
Comment 4 2019-01-11 14:11:08 PST
Jonathan Bedard
Comment 5 2019-01-11 14:12:17 PST
(In reply to Lucas Forschler from comment #3) > Comment on attachment 358939 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=358939&action=review > > > Tools/Scripts/webkitpy/xcode/simulated_device.py:137 > > + for devices_for_runtime in simctl_json['devices']: > > it seems strange to set devices_for_runtime to an empty list, then use it as > an iterator here? Surprised this code worked! Just uploaded a patch to fix it.
WebKit Commit Bot
Comment 6 2019-01-11 14:48:21 PST
Comment on attachment 358945 [details] Patch Clearing flags on attachment: 358945 Committed r239878: <https://trac.webkit.org/changeset/239878>
WebKit Commit Bot
Comment 7 2019-01-11 14:48:23 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2019-01-11 14:49:28 PST
Jonathan Bedard
Comment 9 2019-01-14 13:20:45 PST
Reopening to attach new patch.
Jonathan Bedard
Comment 10 2019-01-14 13:20:46 PST
Jonathan Bedard
Comment 11 2019-01-14 13:32:51 PST
Note You need to log in before you can comment on or make changes to this bug.