Skip to content

Commit deee235

Browse files
authored
doc(wamr): document how to run proposal tests in WAMR (#37)
1 parent e1893c0 commit deee235

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

test/README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
# Running tests
22

3-
The following command executes the `wasi-threads` tests using the Wasmtime
4-
runtime.
5-
63
```bash
74
git clone -b prod/testsuite-all https://github.com/WebAssembly/wasi-testsuite
85
cd wasi-testsuite/
6+
```
7+
8+
To execute the `wasi-threads` tests using the Wasmtime
9+
runtime:
10+
```bash
911
TEST_RUNTIME_EXE="wasmtime --wasm-features=threads --wasi-modules=experimental-wasi-threads" python3 test-runner/wasi_test_runner.py \
10-
-r adapters/wasmtime.sh \
12+
-r adapters/wasmtime.py \
13+
-t tests/proposals/wasi-threads/
14+
```
15+
16+
To execute the `wasi-threads` tests using the WAMR
17+
runtime:
18+
```bash
19+
TEST_RUNTIME_EXE="iwasm" python3 test-runner/wasi_test_runner.py \
20+
-r adapters/wasm-micro-runtime.py \
1121
-t tests/proposals/wasi-threads/
1222
```
1323

0 commit comments

Comments
 (0)