You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of rust-lang#136581 - jieyouxu:makefile-be-gone, r=Kobzol
Retire the legacy `Makefile`-based `run-make` test infra
The final piece of [porting run-make tests to use Rust rust-lang#121876](rust-lang#121876).
Closesrust-lang#121876.
Closesrust-lang#40713.
Closesrust-lang#81791 (no longer using `wc`).
Closesrust-lang#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`-based `run-make` test infra which has served us well over the years. The legacy infra is no longer needed since we ported all of `Makefile`-based `run-make` tests to the new `rmake.rs` infra.
Additionally, this PR:
- Removes `tests/run-make/tools.mk` since no more `Makefile`-based tests remain.
- Updates `tests/run-make/README.md` and rustc-dev-guide docs to remove mention about `Makefile`-based `run-make` tests
- Update test suite requirements in rustc-dev-guide on Windows to no longer need MSYS2 (they should also now run successfully on native Windows MSVC).
- Update `triagebot.toml` to stop backlinking to rust-lang#121876.
**Thanks to everyone who helped in this effort to modernize the `run-make` test infra and test suite!**
r? bootstrap
Copy file name to clipboardexpand all lines: src/doc/rustc-dev-guide/src/tests/directives.md
+1-6
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,7 @@
6
6
FIXME(jieyouxu) completely revise this chapter.
7
7
-->
8
8
9
-
Directives are special comments that tell compiletest how to build and interpret
10
-
a test. They must appear before the Rust source in the test. They may also
11
-
appear in `rmake.rs` or legacy Makefiles for [run-make
12
-
tests](compiletest.md#run-make-tests).
9
+
Directives are special comments that tell compiletest how to build and interpret a test. They must appear before the Rust source in the test. They may also appear in `rmake.rs`[run-make tests](compiletest.md#run-make-tests).
13
10
14
11
They are normally put after the short comment that explains the point of this
15
12
test. Compiletest test suites use `//@` to signal that a comment is a directive.
@@ -221,8 +218,6 @@ The following directives will check LLVM support:
221
218
[`aarch64-gnu-debug`]), which only runs a
222
219
subset of `run-make` tests. Other tests with this directive will not
223
220
run at all, which is usually not what you want.
224
-
- Notably, the [`aarch64-gnu-debug`] CI job *currently* only runs `run-make`
225
-
tests which additionally contain `clang` in their test name.
226
221
227
222
See also [Debuginfo tests](compiletest.md#debuginfo-tests) for directives for
0 commit comments