Skip to content
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

run-make tests: fix and improve #1702

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,16 +363,16 @@ 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.
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.
Expand Down