Skip to content

[6.0.1] Fix hard-coded path to FoundationEssentialsTests resources #901

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

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 xedin and parkera 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
2 of 3 checks passed
@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