Skip to content

test helpers: do not use default build system #8975

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Jul 28, 2025

Many of the executeSwift* command helpers accept a build system provider, which was defaulted to the native build system. Since we are augmenting the tests to also run against the SwiftBuild, setting a default value may lead to an undesirable test behaviour.

Update all the executeSwift* commands to no set a default build system provider.

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 7fe01c2 to 3a9edce Compare July 28, 2025 15:32
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 3a9edce to a24442e Compare July 28, 2025 15:35
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test windows

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from a24442e to a0b91c4 Compare July 28, 2025 15:51
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test windows

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 28, 2025

@swift-ci test self hosted windows

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from a0b91c4 to 5e5fb4b Compare July 29, 2025 14:17
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 29, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 29, 2025

@swift-ci test windows

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 5e5fb4b to 2958992 Compare July 29, 2025 20:17
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 29, 2025

@swift-ci test self hosted

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 2958992 to e8f028f Compare July 30, 2025 14:44
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 30, 2025

@swift-ci test self hosted

1 similar comment
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 30, 2025

@swift-ci test self hosted

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 0218a5d to ba2b0e0 Compare July 30, 2025 19:35
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 30, 2025

@swift-ci test self hosted

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from ba2b0e0 to a420bae Compare July 31, 2025 13:02
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 31, 2025

@swift-ci test

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from a420bae to de79f86 Compare July 31, 2025 13:06
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 31, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 31, 2025

@swift-ci test windows

@bkhouri bkhouri marked this pull request as ready for review July 31, 2025 14:33
@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from de79f86 to 04360fb Compare July 31, 2025 16:05
@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 31, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Jul 31, 2025

@swift-ci test windows

@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from 04360fb to c8e9195 Compare August 1, 2025 15:58
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 1, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 1, 2025

@swift-ci test windows

Many of the executeSwift* command helpers accept a build system
provider, which was defaulted to the native build system.  Since we are
augmenting the tests to also run against the SwiftBuild, setting a
default value may lead to an undesirable test behaviour.

Update all the executeSwift* commands to no set a default build system
provider, and update SwiftBuild tests accordingly.
@bkhouri bkhouri force-pushed the t/main/executeSwiftCommands_does_not_default_build_system branch from c8e9195 to 2aab96f Compare August 1, 2025 19:10
@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 1, 2025

@swift-ci test

@bkhouri
Copy link
Contributor Author

bkhouri commented Aug 1, 2025

@swift-ci test windows

@bkhouri bkhouri enabled auto-merge (squash) August 1, 2025 21: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.

1 participant