Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update subliminal-test to take advantage of instruments 5.1. #181

Merged
merged 9 commits into from
Apr 19, 2014

Conversation

wearhere
Copy link
Contributor

Resolves #143--we now use instruments 5.1's ability to select the device type and SDK, and ask the user to pre-authorize the test machine rather than provide their login password to subliminal-test.

The wiki has already been updated in anticipation of these changes.

Jeff Wear added 9 commits April 17, 2014 03:38
It's not technically correct to say that 7.0 is no longer supported _at all_,
but we remove it from the list because we don't plan to test against it in CI.

We remove 5.1 because Travis no longer supports 5.1.
…pe. (resolves #143)

This capability, added in Xcode 5.1, obviates the need to enable/disable
SDKs to force `instruments` to use a particular SDK for testing
(http://openradar.appspot.com/radar?id=3107401) and the need to
specify the `TARGETED_DEVICE_FAMILY` argument to force `instruments`
to use a particular device family for testing
(http://openradar.appspot.com/13607967).

The first components of the configurations respected by the `-w` flag
(the device types) are the same as the items listed in the iOS Simulator's
"Hardware -> Device" menu, so `subliminal-test` remains
backwards-compatible, despite its documentation changing.

Some references to iOS 5.1 have been updated in preparation for our
eventual dropping of 5.1 support (though we still do support it currently).
It's not (yet?) installed on the new 10.9 boxes.
appledoc 2.1 uses GC and so cannot be compiled using Xcode 5.1,
so we download a pre-built version from the `gh-pages` branch
and manually install it.

The version was pre-built following the instructions [here][1] using
Xcode 5.0.2 and the `appledoc21` formula. I thought that maybe we
could install the resulting bottle [directly][2] but for some reason that
fails.

[1] https://github.com/Homebrew/homebrew/wiki/Bottles
[2] https://github.com/Homebrew/homebrew/wiki/Bottles#local-bottle-usage
`xctool` 0.1.14 will fail to run Subliminal's unit tests.

Travis is supposed to have 0.1.15 installed--see
travis-ci/travis-ci#2051 (comment).
ahaneyinkling added a commit that referenced this pull request Apr 19, 2014
Update `subliminal-test` to take advantage of `instruments` 5.1.
@ahaneyinkling ahaneyinkling merged commit ff385cf into master Apr 19, 2014
@ahaneyinkling ahaneyinkling deleted the jeff/new_instruments branch April 19, 2014 00:02
MaxGabriel added a commit to MaxGabriel/Subliminal that referenced this pull request Apr 19, 2014
@wearhere wearhere mentioned this pull request Apr 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can Subliminal use the new -w flag to select a device using instruments?
2 participants