Bug 135441 - [iOS] run-webkit-tests: defaults for --runtime and --device-type flags
Summary: [iOS] run-webkit-tests: defaults for --runtime and --device-type flags
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad All
: P2 Normal
Assignee: David Farler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 17:05 PDT by David Farler
Modified: 2014-08-05 18:38 PDT (History)
8 users (show)

See Also:


Attachments
Patch (6.71 KB, patch)
2014-08-05 18:05 PDT, David Farler
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Farler 2014-07-30 17:05:21 PDT
CoreSimulator identifiers are a mouthful - provide some defaults for most situations based on the latest runtime available in the current SDK and a default device based on architecture.
Comment 1 David Farler 2014-08-05 18:05:30 PDT
Created attachment 236067 [details]
Patch
Comment 2 David Farler 2014-08-05 18:06:08 PDT
That brings it down to:

Tools/Scripts/run-webkit-tests --ios-sim —debug

or

Tools/Scripts/run-webkit-tests --ios-sim  —release
Comment 3 Tim Horton 2014-08-05 18:11:20 PDT
Comment on attachment 236067 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=236067&action=review

> Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py:289
> +        optparse.make_option('--device-type', help='iOS Simulator device type identifier (default: i386: iPhone 5, x86_64: iPhone 5s)'),

maybe -> arrows instead of colons for the mapping?
Comment 4 David Farler 2014-08-05 18:37:56 PDT
Good call, that’s a lot of :
Comment 5 David Farler 2014-08-05 18:38:22 PDT
Committed r172117: <http://trac.webkit.org/changeset/172117>