Skip to content

build: add support for testing more of the compilers on Windows #70497

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
Dec 15, 2023

Conversation

compnerd
Copy link
Member

This adds the ability to conditionally run the test suite for LLVM, LLD, LLDB, Clang, and Swift. This will allow us to increase the test coverage in CI to avoid regressions.

This adds the ability to conditionally run the test suite for LLVM, LLD,
LLDB, Clang, and Swift.  This will allow us to increase the test
coverage in CI to avoid regressions.
@compnerd
Copy link
Member Author

CC: @tristanlabelle

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

CC: @shahmishal

"-TestLLVM" = $Test -contains "llvm";
"-TestSwift" = $Test -contains "swift";
}
Build-Compilers $HostArch @Tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could avoid splatting by using -TestClang:($Test -contains "clang") (-Foo:$true / -Foo:$false is valid syntax)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that is certainly a viable option as well. I find it difficult to tell which is better. The collection as is does make it easier to tell at a glance what options are being setup. I would defer to your expertise if one is better than the other.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge this for now, but happy to revisit if you have suggestions here.

@compnerd compnerd merged commit ef1f9eb into swiftlang:main Dec 15, 2023
@compnerd compnerd deleted the testing branch December 15, 2023 23:55
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