Document env variables for tests
This commit is contained in:
parent
e0bbc019a7
commit
2697aa6192
|
@ -15,3 +15,11 @@ following list is roughtly sorted from most interesting/useful to least.
|
|||
- [expect](expect/): Expect tests for the jit output. Contains a set of
|
||||
asm+wasm files, where the jit is expected to produce the wasm file given the
|
||||
asm file.
|
||||
|
||||
The following environmental variables are respected by most tests if applicable:
|
||||
|
||||
- `TEST_RELEASE_BUILD=1`: Test the release build (libv86.js, v86.wasm) instead of the
|
||||
debug build (libv86-debug.js, v86-debug.wasm)
|
||||
- `MAX_PARALLEL_TESTS=n`: Maximum number of tests to run in parallel. Defaults
|
||||
to the number of cores in your system or less.
|
||||
- `TEST_NAME="…"`: Run only the specified test (only expect, full, nasm)
|
||||
|
|
Loading…
Reference in a new issue