-
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
Move src/test to the root #106458
Move src/test to the root #106458
Conversation
@albertlarsan68 in addition to fixing the CI failures, please also make sure you update |
This comment has been minimized.
This comment has been minimized.
I guess the only question is whether to keep the name |
I would prefer |
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. |
☔ The latest upstream changes (presumably #106472) made this pull request unmergeable. Please resolve the merge conflicts. |
1201e86
to
c7d7a29
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
c888bdd
to
7b22cd7
Compare
This 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
9e5d9d2
Compare
This comment has been minimized.
This comment has been minimized.
@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
31699e4
Compare
I just wanted to see if this Concerning the cloud dev machine, I am not in desperate need, but it will allow much faster iterations. |
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 |
No, there isn't. |
Can you also open one to update the references in |
Sure, opened #106724. |
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. |
@albertlarsan68 Can you double check tidy? This error is definitely not accurate, as there are test files with the required lines. |
@jhpratt that error looks correct, the tests should be in |
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/test
totests
and whatever is needed to make CI pass.What is left to do:
src/test