Bug 135441

Summary: [iOS] run-webkit-tests: defaults for --runtime and --device-type flags
Product: WebKit Reporter: David Farler <dfarler>
Component: Tools / TestsAssignee: David Farler <dfarler>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, dbates, ddkilzer, glenn, psolanki, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: All   
Attachments:
Description Flags
Patch thorton: review+

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>