-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
The README documents a relatively involved test runner invocation:
python3 test-runner/wasi_test_runner.py \
-t ./tests/assemblyscript/testsuite/ `# path to folders containing .wasm test files` \
./tests/c/testsuite/wasm32-wasip1 \
./tests/rust/testsuite/ \
-r adapters/wasmtime.py # path to a runtime adapter
OK, it needs to be updated for the new paths. And to add wasip3 for Rust; and somehow to invoke the "adapter" such that it can apply different command-line flags to different versions (wasip1 vs wasip3).
It occurs to me that we should try to be more simple for the default run. I basically want to be able to just ./run-tests. Some ideas to get us there:
- New front-end script at the top level; uses the existing code tho
- Instead of specifying paths to test suite dirs manually, just traverse subdirs looking for
manifest.jsonfiles; those are the available tests - Start a test run by looking for all adapters (WASI implementations), and querying them for which wasi versions they support; run them all.
- Add a simple regex-based "includelist" to the command-line, as in the JS engine's test runners
Thoughts? @pchickey @loganek @alexcrichton ?
pchickey
Metadata
Metadata
Assignees
Labels
No labels