Closed xedin closed 2 months ago
Explanation:
The hard-coded resource directory path needs to account for the fact that sometimes tests are only build for the "host". So the changes try to find "-tool" prefixed directory first and if it exists, use it.
Main Branch PR: https://github.com/apple/swift-foundation/pull/855
Risk: Very Low (only tests of foundation are effected).
Reviewed By: @jmschonfeld
Testing: Manual.
(cherry picked from commit d14ceaf88961afce40fd34bd51c3296fbdcbb012)
@swift-ci please test
Explanation:
The hard-coded resource directory path needs to account for the fact that sometimes tests are only build for the "host". So the changes try to find "-tool" prefixed directory first and if it exists, use it.
Main Branch PR: https://github.com/apple/swift-foundation/pull/855
Risk: Very Low (only tests of foundation are effected).
Reviewed By: @jmschonfeld
Testing: Manual.
(cherry picked from commit d14ceaf88961afce40fd34bd51c3296fbdcbb012)