Skip to content

Tests: compute the TestInputs path more robustly #946

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 20, 2021

Conversation

compnerd
Copy link
Member

This is based on #940; only the last commit is relevant.

Copy link
Contributor

@cltnschlosser cltnschlosser left a comment

Choose a reason for hiding this comment

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

Additional commit looks good.

This adjusts the computation of the `TestInputs` path by walking the
components in reverse.  Doing so ensures that we can use the native path
separator character, which is required for the proper behaviour on
Windows.  With this change we now pass additional tests in the
SwiftDriverTests test suite.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 00494c4 into swiftlang:main Dec 20, 2021
@compnerd compnerd deleted the TestInputs branch December 20, 2021 21:48
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