Bug 141306 - [iOS] webkitpy.xcode.simulator.Runtime.from_identifier() returns wrong result for non-existent runtime
Summary: [iOS] webkitpy.xcode.simulator.Runtime.from_identifier() returns wrong result...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 8.1
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 14:43 PST by Daniel Bates
Modified: 2015-02-05 15:15 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.00 KB, patch)
2015-02-05 14:44 PST, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2015-02-05 14:43:21 PST
webkitpy.xcode.simulator.Runtime.from_identifier() always return the last runtime parsed from `simctl list` when given an identifier to a non-existent runtime.
Comment 1 Daniel Bates 2015-02-05 14:44:56 PST
Created attachment 246130 [details]
Patch
Comment 2 Daniel Bates 2015-02-05 15:15:34 PST
Comment on attachment 246130 [details]
Patch

Clearing flags on attachment: 246130

Committed r179716: <http://trac.webkit.org/changeset/179716>
Comment 3 Daniel Bates 2015-02-05 15:15:40 PST
All reviewed patches have been landed.  Closing bug.