Skip to content

[build-script-impl] Call the XCTest build_script.py on all platforms #2259

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

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

briancroom
Copy link
Contributor

What's in this pull request?

Following up on #2137 and swiftlang/swift-corelibs-xctest#97, XCTest's own build script has gotten the capability of performing build and test actions on Darwin as well, so build-script-impl can now delegate to it there, reducing the amount of platform-specific logic here.


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
OS X platform @swift-ci Please test OS X platform
Linux platform @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@modocache
Copy link
Contributor

modocache commented Apr 21, 2016

Bravo!

apple/swift CI doesn't actually test this XCTest code path -- this is the very reason @briancroom made the changes in swiftlang/swift-corelibs-xctest#97 -- so asking @swift-ci to test wouldn't provide much benefit here. Still, I guess it couldn't hurt! I'll wait to see a test run before merging.

@briancroom briancroom force-pushed the use-xctest-build-script branch 2 times, most recently from 85baaa2 to b538224 Compare April 25, 2016 17:41
…orms

No longer invoke xcodebuild directly on Darwin for building and testing,
because XCTest's own build script now contains the platform-specific
logic.
@gribozavr
Copy link
Contributor

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 43a2141 into swiftlang:master Apr 29, 2016
@briancroom briancroom deleted the use-xctest-build-script branch April 29, 2016 07:42
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.

4 participants