Skip to content

Ensure Foundation tests don't run when passing --skip-foundation-tests #75573

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
Jul 31, 2024

Conversation

jmschonfeld
Copy link
Contributor

Now that Foundation's tests are defined as separate build script steps after SwiftPM, we need to ensure that the tests respect the --skip-foundation-tests argument. Instead of passing it to build-script-impl, we capture it as an argument and use it to provide the should_test value. This ensures that CI runs that don't test Foundation (because they don't build SwiftPM or otherwise) don't attempt to run Foundation tests.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@etcwilde
Copy link
Member

preset=linux_lldb
@swift-ci please test with preset Linux Platform

@jmschonfeld
Copy link
Contributor Author

@swift-ci please smoke test

@jmschonfeld
Copy link
Contributor Author

preset=linux_lldb
@swift-ci please test with preset Linux Platform

@jmschonfeld
Copy link
Contributor Author

@swift-ci please smoke test

@jmschonfeld
Copy link
Contributor Author

@swift-ci please smoke test Linux platform

@jmschonfeld jmschonfeld merged commit f89db53 into swiftlang:main Jul 31, 2024
3 checks passed
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