Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ddfa50d

Browse files
authored
tests: document how to run run-make on Windows (rust-lang#2002)
1 parent ef22f39 commit ddfa50d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/doc/rustc-dev-guide/src/tests/running.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,22 @@ This is much faster, but doesn't always work. For example, some tests
213213
include directives that specify specific compiler flags, or which rely
214214
on other crates, and they may not run the same without those options.
215215

216+
## Running `run-make` tests
217+
218+
### Windows
219+
220+
Running the `run-make` test suite on Windows is a bit more involved. There are numerous
221+
prerequisites and environmental requirements:
222+
223+
- Install msys2: <https://www.msys2.org/>
224+
- Specify `MSYS2_PATH_TYPE=inherit` in `msys2.ini` in the msys2 installation directory, run the
225+
following with `MSYS2 MSYS`:
226+
- `pacman -Syuu`
227+
- `pacman -S make`
228+
- `pacman -S diffutils`
229+
- `pacman -S binutils`
230+
- `./x test run-make` (`./x test tests/run-make` doesn't work)
231+
216232

217233
## Running tests on a remote machine
218234

0 commit comments

Comments
 (0)