RESOLVED FIXED149022
[iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision
https://bugs.webkit.org/show_bug.cgi?id=149022
Summary [iOS] Teach run-webkit-tests how to parse simulator runtimes when version num...
Andy Estes
Reported 2015-09-09 18:14:15 PDT
[iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision
Attachments
Patch (4.97 KB, patch)
2015-09-09 18:27 PDT, Andy Estes
no flags
Patch (4.97 KB, patch)
2015-09-09 18:29 PDT, Andy Estes
dbates: review+
Andy Estes
Comment 1 2015-09-09 18:27:41 PDT
Andy Estes
Comment 2 2015-09-09 18:29:48 PDT
Daniel Bates
Comment 3 2015-09-09 19:27:48 PDT
Comment on attachment 260900 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=260900&action=review > Tools/Scripts/webkitpy/xcode/simulator.py:237 > +# Also, simctl has the option to output in JSON format (xcrun simctl list --json). Yes, we want to make use of this. > Tools/Scripts/webkitpy/xcode/simulator.py:246 > + '(i|watch)OS (?P<version>[0-9]+\.[0-9])(?P<internal> Internal)? \([0-9]+\.[0-9]+(\.[0-9]+)? - (?P<build_version>[^)]+)\) \((?P<identifier>[^)]+)\)( \((?P<availability>[^)]+)\))?') We could simplify this regular expression by making use of the special sequence \d := [0-9]. See <https://docs.python.org/2/howto/regex.html> for more details.
Andy Estes
Comment 4 2015-09-10 10:30:33 PDT
David Kilzer (:ddkilzer)
Comment 5 2016-06-25 08:10:18 PDT
*** Bug 159116 has been marked as a duplicate of this bug. ***
David Kilzer (:ddkilzer)
Comment 6 2016-06-25 08:10:59 PDT
Note You need to log in before you can comment on or make changes to this bug.