Bug 159116 - [iOS] Add unit test: run-webkit-tests fails to parse `simctl list` output on iOS X.Y.Z
Summary: [iOS] Add unit test: run-webkit-tests fails to parse `simctl list` output on ...
Status: CLOSED DUPLICATE of bug 149022
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2016-06-25 07:44 PDT by David Kilzer (:ddkilzer)
Modified: 2016-06-25 08:10 PDT (History)
5 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2016-06-25 07:44:10 PDT
When an iOS SDK has a three-digit version, run-webkit-tests fails to parse the output of `simctl list` properly because it uses a regular expression that only expects a version in the format of "X.Y", not "X.Y.Z".
Comment 1 David Kilzer (:ddkilzer) 2016-06-25 07:44:32 PDT
Comment 2 David Kilzer (:ddkilzer) 2016-06-25 08:02:27 PDT
Great!  Andy Estes already fixed the parsing bug here:

Bug 149022: [iOS] Teach run-webkit-tests how to parse simulator runtimes when version numbers contain a revision

I'll use this bug to add a unit test.
Comment 3 David Kilzer (:ddkilzer) 2016-06-25 08:10:18 PDT
Actually, a test was also added with Bug 149022 (I didn't scroll down far enough), so let's just close this as a duplicate!

*** This bug has been marked as a duplicate of bug 149022 ***