-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Retire the legacy Makefile
-based run-make
test infra
#136581
base: master
Are you sure you want to change the base?
Conversation
…--stage-id` Notably, this avoids having to do hacky string splitting based on `--stage-id`.
Instead of only having `--src-base` and `src_base` which *actually* refers to the directory containing the test suite and not the sources root. More importantly, kill off `find_rust_src_root` when we can simply pass that info from bootstrap.
…ic build dir - Introduce and use `--build-{root,test-suite-root}` over `--build-base`. - A few minor cleanups.
…test-suite-root` instead
To make it easier to tell the conditional branching.
This does not work with GNU Make 3.80, but this is just to make it easier to follow during review.
`-g` is an alias for `-C debuginfo=2`.
Co-authored-by: Oneirical <[email protected]>
It has served us well, but it's time to retire the `Makefile` support file since this is no longer needed.
And remove outdated requirements to run `run-make` tests on Windows.
No longer needed.
@rustbot blocked (on prerequisite PRs merging first) |
Thank you very much for starting this, driving this forward together with @Oneirical during GSoC and everyone else, and now finally bringing this to completion! Thanks! 💜❤️😸 |
It's amazing to see this after toiling through the seemingly endless pile of Makefiles. This is going to make it so much less of a hassle when contributors write a PR and reviewers answer, "Very nice, but could you add a test?" |
Caution
Currently stacked on top of #136542 and #135572. Can only be merged after the prerequisite PRs are merged and then this PR is rebased.
The final piece of porting run-make tests to use Rust #121876.
Closes #121876.
Closes #40713.
Closes #81791 (no longer using
wc
).Closes #56475 (no longer a problem in current form of that test; we don't ignore the test on
aarch64-unknown-linux-gnu
).Summary
This PR removes the legacy
Makefile
-basedrun-make
test infra which has served us well over the years. The legacy infra is no longer needed since we ported all ofMakefile
-basedrun-make
tests to the newrmake.rs
infra.Additionally, this PR:
tests/run-make/tools.mk
since no moreMakefile
-based tests remain.tests/run-make/README.md
and rustc-dev-guide docs to remove mention aboutMakefile
-basedrun-make
teststriagebot.toml
to stop backlinking to Tracking Issue for portingrun-make
tests to use Rust #121876.Thanks to everyone who helped in this effort to modernize the
run-make
test infra and test suite!r? bootstrap