Skip to content

[5.5] SPMTestSupport should not depend on Build #3553

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
Jun 15, 2021

Conversation

neonichu
Copy link
Contributor

5.5 cherry-pick of #3551

In #3398, we introduced a way to check whether a compiler supports specific flags. This functionality relies on the Swift Driver and therefore the `Build` module which isn't available on all platforms and therefore shouldn't be used by `SPMTestSupport`.

This change removes the dependency and replaces the check in tests with a check for the 5.5 Swift compiler instead.

(cherry picked from commit 5619eb8)
@neonichu
Copy link
Contributor Author

@swift-ci please test

@neonichu neonichu merged commit 8097c21 into release/5.5 Jun 15, 2021
@neonichu neonichu deleted the test-support-should-not-depend-on-build branch June 15, 2021 17:34
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