Skip to content

Commit 1f3ded3

Browse files
committed
tests: document how to run run-make on Windows
1 parent 22fbccf commit 1f3ded3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/tests/running.md

+17
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,23 @@ 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 python on Windows: <https://www.python.org/downloads/>
224+
- Install msys2: <https://www.msys2.org/>
225+
- Specify `MSYS2_PATH_TYPE=inherit` in `msys2.ini` in the msys2 installation directory, run the
226+
following with `MSYS2 MSYS`:
227+
- `pacman -Syuu`
228+
- `pacman -S make`
229+
- `pacman -S diffutils`
230+
- `pacman -S binutils`
231+
- `./x test run-make` (`./x test tests/run-make` doesn't work)
232+
216233

217234
## Running tests on a remote machine
218235

0 commit comments

Comments
 (0)