Remove extra removal from test path - #107027
Merged
Merged
Conversation
Collaborator
|
(rustbot has picked a reviewer for you, use r? to override) |
albertlarsan68
approved these changes
Jan 18, 2023
albertlarsan68
left a comment
Member
There was a problem hiding this comment.
I should have verified all of the outputs.
Is there any other instance of this .parent().unwrap() scheme ?
Member
Author
|
There are a few places but they don't seem to impact the tests folder: |
Member
|
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 ? |
Member
Author
|
That's a good suggestion. Do we have tests for test runners already? |
Member
|
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. |
Contributor
|
@bors r+ |
Collaborator
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jan 19, 2023
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
testsfolder one level up, meaning we were trimming too much of theroot_path.Now it is again displaying the correct path: