From 28c1724c8c4ae4fb9410aa23b3e6549f9ce8247a Mon Sep 17 00:00:00 2001 From: Marcin Kolny Date: Fri, 20 Jan 2023 17:17:29 +0000 Subject: [PATCH] Add more details about running tests --- test/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index bb96f91..021d678 100644 --- a/test/README.md +++ b/test/README.md @@ -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.