Skip to content

[Darwin test config] Use the SDK when running swift/swiftc in tests. #32357

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 3 commits into from
Jun 16, 2020

Conversation

DougGregor
Copy link
Member

The Swift driver (swift/swiftc) is supposed to always be used with an
accompanying SDK, which it derives from the environment. Our test
infrastructure was clearing out this SDK, making it deviate from the
normal operating environment unnecessarily. Switch to providing the
SDK used for building the standard library, which provides a
more-consistent test environment, and tag the few places in tests
where we have explicit dependencies on "no SDK."

@DougGregor
Copy link
Member Author

@swift-ci test

@DougGregor DougGregor force-pushed the test-with-sdk-on-darwin branch from 7e0a59e to d06e110 Compare June 12, 2020 21:03
@DougGregor
Copy link
Member Author

@swift-ci test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 7e0a59eb9bc40e8c099ecb7b4f7d5b65f54ca8cb

@DougGregor
Copy link
Member Author

@swift-ci test macOS

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - d06e11077dcbc2c5535c782f5e458780d0f06bd4

@DougGregor
Copy link
Member Author

@swift-ci smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test macOS

@DougGregor
Copy link
Member Author

@swift-ci test Windows

The Swift driver (swift/swiftc) is supposed to always be used with an
accompanying SDK, which it derives from the environment. Our test
infrastructure was clearing out this SDK, making it deviate from the
normal operating environment unnecessarily. Switch to providing the
SDK used for building the standard library, which provides a
more-consistent test environment, and tag the few places in tests
where we have explicit dependencies on "no SDK."
@DougGregor DougGregor force-pushed the test-with-sdk-on-darwin branch from f8e36f8 to 1ee3342 Compare June 15, 2020 21:12
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test Linux

@DougGregor DougGregor merged commit 77e0ad1 into swiftlang:master Jun 16, 2020
@DougGregor DougGregor deleted the test-with-sdk-on-darwin branch June 16, 2020 17:25
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.

2 participants