[iOS] run-webkit-tests: defaults for --runtime and --device-type flags
authordfarler@apple.com <dfarler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Aug 2014 01:38:06 +0000 (01:38 +0000)
committerdfarler@apple.com <dfarler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Aug 2014 01:38:06 +0000 (01:38 +0000)
commit09c77fe7e62b242fe32c5dc3e51a096116e45ccf
tree14d6747335f61fb1087ca52365f855fc78cc0b3d
parentad72b970f4652739a7146f532a3facfbcb6d6b58
[iOS] run-webkit-tests: defaults for --runtime and --device-type flags
https://bugs.webkit.org/show_bug.cgi?id=135441

Reviewed by Tim Horton.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):
(_set_up_derived_options):
If using the ios-simulator platform and runtime or device-type
aren't defined, get the latest runtime from the active Xcode.app
and pick a default device type based on the desired architecture:
iPhone 5 for i386 and iPhone 5s for x86_64.
* Scripts/webkitpy/xcode/__init__.py: Added.
* Scripts/webkitpy/xcode/simulator.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
Tools/Scripts/webkitpy/xcode/__init__.py [new file with mode: 0644]
Tools/Scripts/webkitpy/xcode/simulator.py [new file with mode: 0644]