Skip to content

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

Merged

Conversation

ForrestOfBarnes
Copy link
Contributor

@ForrestOfBarnes ForrestOfBarnes commented Jun 5, 2023

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.

@rustbot
Copy link
Collaborator

rustbot commented Jun 5, 2023

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 (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Jun 5, 2023
@ForrestOfBarnes
Copy link
Contributor Author

r? @pietroalbini

@rustbot rustbot assigned pietroalbini and unassigned wesleywiser Jun 6, 2023
@pietroalbini
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 18, 2023

📌 Commit f301b3850bcc88db2632593e340da5433f90ac10 has been approved by pietroalbini

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 18, 2023
@klensy
Copy link
Contributor

klensy commented Jun 18, 2023

@pietroalbini
Copy link
Member

@bors r-

Could you remove the merge commits?

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 18, 2023
@ForrestOfBarnes ForrestOfBarnes force-pushed the tests-listing-format-json-windows-fix branch from f301b38 to ec18a34 Compare June 19, 2023 02:07
@ForrestOfBarnes
Copy link
Contributor Author

@rustbot label -S-waiting-on-author +S-waiting-on-review

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 19, 2023
@pietroalbini
Copy link
Member

Sorry for the delay!

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 6, 2023

📌 Commit ec18a34 has been approved by pietroalbini

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 6, 2023
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 6, 2023
…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
@bors bors merged commit f94a0c9 into rust-lang:master Jul 6, 2023
@rustbot rustbot added this to the 1.72.0 milestone Jul 6, 2023
@ForrestOfBarnes ForrestOfBarnes deleted the tests-listing-format-json-windows-fix branch April 13, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants