Bug 159116

Summary: [iOS] Add unit test: run-webkit-tests fails to parse `simctl list` output on iOS X.Y.Z
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: CLOSED DUPLICATE    
Severity: Normal CC: aakash_jain, aestes, ap, dbates, lforschler
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
<rdar://problem/21787528>
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
<https://bugs.webkit.org/show_bug.cgi?id=149022>
<https://trac.webkit.org/changeset/189573>

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 ***