Skip to content

Commit

Permalink
Add more details about running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loganek committed Jan 30, 2023
1 parent 372f6fe commit 27fcb69
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
See https://github.com/WebAssembly/wasi-testsuite
# Running tests
The following command executes wasi-threads tests using wasmtime runtime (please note wasi-threads proposal is still in development in Wasmtime and requires [this change](https://github.com/bytecodealliance/wasmtime/pull/5484) to work).

```bash
git clone -b prod/testsuite-all https://github.com/WebAssembly/wasi-testsuite
cd wasi-testsuite/
TEST_RUNTIME_EXE="wasmtime --wasm-features=threads --wasi-modules=experimental-wasi-threads" python3 test-runner/wasi_test_runner.py \
-r adapters/wasmtime.sh \
-t tests/proposals/wasi-threads/
```

See https://github.com/WebAssembly/wasi-testsuite for details.

0 comments on commit 27fcb69

Please sign in to comment.