From 30553698e7ea1421f541b8d28d5160c1378a56d2 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Mon, 26 Jun 2023 11:51:46 +0200 Subject: [PATCH] run-make tests: fix and improve --- src/tests/compiletest.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/compiletest.md b/src/tests/compiletest.md index f066992dc..d4730c5b4 100644 --- a/src/tests/compiletest.md +++ b/src/tests/compiletest.md @@ -363,7 +363,7 @@ your test, causing separate files to be generated for 32bit and 64bit systems. [`tests/mir-opt`]: https://github.com/rust-lang/rust/tree/master/tests/mir-opt -### Run-make tests +### `run-make` tests The tests in [`tests/run-make`] are general-purpose tests using Makefiles which provide the ultimate in flexibility. @@ -371,8 +371,8 @@ These should be used as a last resort. If possible, you should use one of the other test suites. If there is some minor feature missing which you need for your test, consider extending compiletest to add a header command for what you need. -However, sometimes just running a bunch of commands is really what you -need, `run-make` is here to the rescue! +However, if running a bunch of commands is really what you need, +`run-make` is here to the rescue! Each test should be in a separate directory with a `Makefile` indicating the commands to run.