-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix the tests-listing-format-json test on Windows #112295
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
Fix the tests-listing-format-json test on Windows #112295
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @wesleywiser (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
@bors r+ |
📌 Commit f301b3850bcc88db2632593e340da5433f90ac10 has been approved by It is now in the queue for this repository. |
Bip-bop no merge bot https://rustc-dev-guide.rust-lang.org/git.html#no-merge-policy |
@bors r- Could you remove the merge commits? |
f301b38
to
ec18a34
Compare
@rustbot label -S-waiting-on-author +S-waiting-on-review |
Sorry for the delay! @bors r+ |
…iaskrgr Rollup of 4 pull requests Successful merges: - rust-lang#112295 (Fix the tests-listing-format-json test on Windows) - rust-lang#113246 (fix compiletest crash) - rust-lang#113395 (Dont ICE for `dyn* Trait: Trait` (built-in object) goals during selection in new trait solver) - rust-lang#113402 (Diagnose unsorted CGUs.) r? `@ghost` `@rustbot` modify labels: rollup
tests/ui/test-attrs/tests-listing-json-format.rs was failing on Windows because each path in the json-formatted output contained "\\" instead of "\".
runtest::TestCx::normalize_output
already checks the compile flags for json-related arguments to handle this case, so I added an equivalent check for the new run flag.