Skip to content

[build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/6] #62

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

Conversation

modocache
Copy link
Contributor

This is the first of six pull requests necessary to introduce asynchronous testing to swift-corelibs-xctest. @modocache will merge this once the CI passes.

#43 will add a dependency between swift-corelibs-xctest and swift-corelibs-foundation. This will also necessitate the build script to take a '--foundation-build-dir' parameter. However, the Swift CI does not yet supply this parameter.

To prevent CI from breaking when #43 is landed, preemptively add the '--foundation-build-dir' parameter. Before landing #43, the Swift build script will be modified to pass this parameter to the XCTest build script.

swiftlang#43 will add a
dependency between swift-corelibs-xctest and swift-corelibs-foundation.
This will also necessitate the build script to take a
'--foundation-build-dir' parameter. However, the Swift CI does not yet
supply this parameter.

To prevent CI from breaking when swiftlang#43 is landed, preemptively add the
'--foundation-build-dir' parameter. Before landing swiftlang#43, the Swift build
script will be modified to pass this parameter to the XCTest build script.
@modocache
Copy link
Contributor Author

Here's how the build script will need to change: modocache/swift@71f20f6

Notice that it passes '--foundation-build-dir' to the XCTest build script.

@briancroom
Copy link
Contributor

LGTM!

@modocache modocache changed the title [build_script.py] Add --foundation-build-dir parameter [build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/5] Mar 7, 2016
@modocache modocache self-assigned this Mar 7, 2016
@modocache modocache changed the title [build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/5] [build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/6] Mar 7, 2016
@mike-ferris
Copy link

@swift-ci please test

@mike-ferris
Copy link

case-sensitively... @swift-ci Please test

@mike-ferris
Copy link

@swift-ci Please test

@modocache
Copy link
Contributor Author

Merging. OS X is a known failure for now. I believe work's being done for xcodebuild to use the latest Swift toolchain, which would help here.

modocache added a commit that referenced this pull request Mar 8, 2016
…migration

[build_script.py] Add --foundation-build-dir parameter [AsyncXCTest 1/6]
@modocache modocache merged commit 9a426f4 into swiftlang:master Mar 8, 2016
@modocache modocache deleted the xctestexpectation-build-script-migration branch March 8, 2016 01:24
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.

3 participants