Skip to content

Use ui_test's Windows path backslash heuristic #11336

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
Aug 15, 2023

Conversation

Alexendoo
Copy link
Member

changelog: none

Instead of unconditionally replacing \ with / we now use Match::PathBackslash to only replace backslashes in paths that look like windows paths

ui-toml and ui-cargo tests still use the old way because they produce verbatim paths on windows in some tests (\\?\C:\foo\...) which was finnicky to get the replacement order correct with

Also removes the ui_test -> compiletest alias and VarGuard

@rustbot
Copy link
Collaborator

rustbot commented Aug 14, 2023

r? @dswij

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 14, 2023
Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

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

Cool stuff! Thanks!

@flip1995
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Aug 15, 2023

📌 Commit 77d10ac has been approved by flip1995

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 15, 2023

⌛ Testing commit 77d10ac with merge 710db18...

@bors
Copy link
Contributor

bors commented Aug 15, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 710db18 to master...

@bors bors merged commit 710db18 into rust-lang:master Aug 15, 2023
@Alexendoo Alexendoo deleted the uitest-backslash branch August 22, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants