tests: document how to run run-make on Windows (#2002)

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-06-24 13:21:15 +08:00 committed by GitHub
parent ef22f393b3
commit ddfa50dedb

View file

@ -213,6 +213,22 @@ This is much faster, but doesn't always work. For example, some tests
include directives that specify specific compiler flags, or which rely
on other crates, and they may not run the same without those options.
## Running `run-make` tests
### Windows
Running the `run-make` test suite on Windows is a bit more involved. There are numerous
prerequisites and environmental requirements:
- Install msys2: <https://www.msys2.org/>
- Specify `MSYS2_PATH_TYPE=inherit` in `msys2.ini` in the msys2 installation directory, run the
following with `MSYS2 MSYS`:
- `pacman -Syuu`
- `pacman -S make`
- `pacman -S diffutils`
- `pacman -S binutils`
- `./x test run-make` (`./x test tests/run-make` doesn't work)
## Running tests on a remote machine