Skip to content
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

[WIP] migrate more of src/test/run-pass to src/test/ui/run-pass #54139

Conversation

pnkfelix
Copy link
Member

This may be enough to consider marking #53764 as closed

…test/ui/run-pass/*/`

These are cases where I feel reasonably confident that I chose a
"good" target subdirectory for the file.
…i/run-pass/*.rs`

A followup task would be to categorize all of these files and move
them into appropriate subdirectories.

But I reached a point where I stopped being able to do trivial
categorizations, and I decided it was better to focus on the main goal
(which is to get compare-mode=nll testing of all the run-pass test
suite).

---

Also, as a special case, I discovered that
lexer-crlf-line-endings-string-literal-doc-comment.rs test needs
special `.gitattributes` to be ported over.
@pnkfelix pnkfelix force-pushed the issue-53764-migrate-run-pass-more-root-files-to-ui branch from 20576e8 to 6c5fe50 Compare September 11, 2018 21:10
@petrochenkov
Copy link
Contributor

@pnkfelix
Could you address #54047 before doing this migration?
Plus probably a way to disable the NLL half of UI tests as well.
It becomes increasingly harder to run tests locally.

@pnkfelix pnkfelix changed the title migrate more of src/test/run-pass to src/test/ui/run-pass [WIP] migrate more of src/test/run-pass to src/test/ui/run-pass Sep 12, 2018
@pnkfelix
Copy link
Member Author

marking as WIP until T-compiler decides how we are going to resolve #54047

@pietroalbini
Copy link
Member

r? @petrochenkov

@pietroalbini pietroalbini added the S-waiting-on-team Status: Awaiting decision from the relevant subteam (see the T-<team> label). label Sep 12, 2018
@pnkfelix pnkfelix added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Sep 12, 2018
@bors
Copy link
Contributor

bors commented Sep 12, 2018

☔ The latest upstream changes (presumably #54146) made this pull request unmergeable. Please resolve the merge conflicts.

@pnkfelix
Copy link
Member Author

Discussed at compiler team meeting.

Long term we will probably adopt some test layout that puts everything in a place that acts like ui suite.

But short term I am going to move stuff back to run-pass and turn it into another ui suite.

@pnkfelix pnkfelix closed this Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-team Status: Awaiting decision from the relevant subteam (see the T-<team> label). T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants