Skip to content

Conversation

drodriguez
Copy link
Contributor

@drodriguez drodriguez commented Oct 1, 2025

If someone has configured their build to add some vendor macro, for example, the vendor macro will appear in customConditions, which will make the test fail.

Modify the test slightly to check for customConditions containing "SOMETHING", instead of only being ["SOMETHING"] and nothing else. This should still allow the test to pass in Swift CI, but allows vendor macros to work too.

If someone has configured their build to add some vendor macro, for
example, the vendor macro will appear in `customConditions`, which will
make the test fail.

Modify the test slightly to check for `customConditions` containing
`SOMETHING`, instead of only being `SOMETHING` and nothing else. This
should still allow the test to pass in Swift CI, but allows vendor
macros to work too.
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez drodriguez merged commit 4c3471a into swiftlang:main Oct 2, 2025
5 checks passed
@drodriguez drodriguez deleted the fix-print-static-build-config branch October 2, 2025 15: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