Skip to content

Commit c4f9678

Browse files
authored
tests: document how to run run-make on Windows (#2002)
1 parent 22fbccf commit c4f9678

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/tests/running.md

+16
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)