Uh oh!
There was an error while loading. Please reload this page.
Move src/test to the root - #106458
Conversation
jyn514
commented
Jan 4, 2023
@albertlarsan68 in addition to fixing the CI failures, please also make sure you update |
This comment has been minimized.
This comment has been minimized.
petrochenkov
commented
Jan 4, 2023
I guess the only question is whether to keep the name |
jyn514
commented
Jan 4, 2023
I would prefer |
the8472
commented
Jan 5, 2023
This should split into multiple commits? one that only moves files and the rest for adjustments to the tools. That'll make it possible to review the code changes on GH. |
bors
commented
Jan 5, 2023
☔ The latest upstream changes (presumably #106472) made this pull request unmergeable. Please resolve the merge conflicts. |
1201e86 to
c7d7a29Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
c888bdd to
7b22cd7CompareThis PR will be very rebase-heavy, as CI refuses to run if there are merge conflicts, and almost every merged PR will modify tests. |
b29c500 to
9e5d9d2Compare
This comment has been minimized.
This comment has been minimized.
jyn514
commented
Jan 5, 2023
@albertlarsan68 you may want to temporarily disable the x86_64-gnu-tools job until #106449 lands to avoid CI spuriously failing while you're trying to fix other things. Also, given the rebase problem, you may want to run the tests locally first instead of primarily using CI. If that's prohibitively slow I can look into getting you access to one of the cloud dev machines. |
09d92fc to
31699e4CompareI just wanted to see if this Concerning the cloud dev machine, I am not in desperate need, but it will allow much faster iterations. |
JohnTitor
commented
Jan 11, 2023
The diff is huge and I cannot check on web UI, but is there a tidy check that prevents contributors from adding a test to |
albertlarsan68
commented
Jan 11, 2023
No, there isn't. |
albertlarsan68
commented
Jan 11, 2023
Can you also open one to update the references in |
JohnTitor
commented
Jan 11, 2023
Sure, opened #106724. |
JohnTitor
commented
Jan 11, 2023
rust-timer
commented
Jan 11, 2023
Finished benchmarking commit (b22c152): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
jhpratt
commented
Jan 11, 2023
@albertlarsan68 Can you double check tidy? This error is definitely not accurate, as there are test files with the required lines. |
jyn514
commented
Jan 11, 2023
@jhpratt that error looks correct, the tests should be in |
jhpratt
commented
Jan 11, 2023
Duh...thanks for the response! |
This comment has been minimized.
This comment has been minimized.
…mulacrum Fix the test directories suggested by `./x.py suggest` It seems that these paths were correct when rust-lang#106249 was being written, but since then rust-lang#106458 has been merged (moving `src/test/` to `tests/`), making the tool's suggestions incorrect.
…mulacrum Fix the test directories suggested by `./x.py suggest` It seems that these paths were correct when rust-lang#106249 was being written, but since then rust-lang#106458 has been merged (moving `src/test/` to `tests/`), making the tool's suggestions incorrect.
…mulacrum Fix the test directories suggested by `./x.py suggest` It seems that these paths were correct when rust-lang#106249 was being written, but since then rust-lang#106458 has been merged (moving `src/test/` to `tests/`), making the tool's suggestions incorrect.

See MCP at rust-lang/compiler-team#573
There may be more changes needed.
The first commit is just the move of the files:
You can check that the first commit did not do anything else than renames by running
The output should be empty, because the filter excludes renames, and the match threshold for qualifying a rename is 100%.
The second one is mostly a "find and replace" of
src/testtotestsand whatever is needed to make CI pass.What is left to do:
src/test