Skip to content

Conversation

@jmschonfeld
Copy link
Contributor

A cherry-pick of #855 to release/6.0.1, this change has already been cherry-picked to release/6.0 via #887 but it appears the underlying change causing the failure is present in the 6.0.1 toolchain resulting in CI failures for release/6.0.1 PRs

…ng#855)

SwiftPM used to incorrectly build tests for both host and target.
That has been fixed by swiftlang/swift-package-manager#7879.

The fix makes sure that if there are any direct macro dependencies
in test targets xctest bundle is only built for "host".

This means that the hard-coded resources path needs to be updated
to include "-tool" suffix.
@jmschonfeld jmschonfeld requested review from parkera and xedin September 4, 2024 17:54
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test macOS platform

@parkera parkera merged commit f07b836 into swiftlang:release/6.0.1 Sep 5, 2024
@jmschonfeld jmschonfeld deleted the 6.0.1/fix-resources-hardcoding branch September 5, 2024 15:56
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.

3 participants