Skip to content
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

Make tools/ci/jobs.py work on Windows #12980

Merged
merged 3 commits into from Sep 13, 2018

Conversation

gsnedders
Copy link
Member

We called os.path.normcase on the path to be compared, and not the
rules themselves. This fixes this by calling normcase on both the rule
and the path to be compared.

We also tried to do separator normalization before calling normcase,
which itself does slash normalization.

We called os.path.normcase on the path to be compared, and not the
rules themselves. This fixes this by calling normcase on both the rule
and the path to be compared.

We also tried to do separator normalization before calling normcase,
which itself does slash normalization.
Copy link
Contributor

@Ms2ger Ms2ger left a comment

Choose a reason for hiding this comment

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

Can you extract the normcase + separator replacement into a helper function to make sure they stay in sync?

@Ms2ger Ms2ger merged commit 93e2953 into web-platform-tests:master Sep 13, 2018
@gsnedders gsnedders deleted the tools-ci-windows branch September 13, 2018 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants