-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove extra removal from test path #107027
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should have verified all of the outputs.
Is there any other instance of this .parent().unwrap()
scheme ?
There are a few places but they don't seem to impact the tests folder:
|
I corrected quite a few during the move, this one slipped through the cracks of not testing compiletest's output in this case. Can a test be added ? |
That's a good suggestion. Do we have tests for test runners already? |
I don't think so. Should I open an issue ? EDIT: There is already #47606, which has some discussion and does not have a definite answer. |
@bors r+ |
…llaumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#105977 (Transform async `ResumeTy` in generator transform) - rust-lang#106927 (make `CastError::NeedsDeref` create a `MachineApplicable` suggestion) - rust-lang#106931 (document + UI test `E0208` and make its output more user-friendly) - rust-lang#107027 (Remove extra removal from test path) - rust-lang#107037 (Fix Dominators::rank_partial_cmp to match documentation) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I don't know how to describe it shortly so better show what it's doing instead. Currently, there is one extra "rust/" before the test folder when running tests:
This is a bit annoying when copying the test path. This is due to the moving of the
tests
folder one level up, meaning we were trimming too much of theroot_path
.Now it is again displaying the correct path: