WASI icon indicating copy to clipboard operation
WASI copied to clipboard

Add tests for all modules

Open linclark opened this issue 4 years ago • 3 comments

We need to bootstrap test coverage for the WASI modules that are currently in this repo.

Once the modules have been moved to their own repos, the Wasmtime team will be contributing the tests currently in the Wasmtime repo to those repos. If anyone else wants to contribute tests from their repos, they are very welcome.

linclark avatar Jan 26 '21 19:01 linclark

The Wasmtime team will be contributing the tests currently in the Wasmtime repo to those repos.

What tests are those and how does the harness work?

caspervonb avatar Jan 27 '21 05:01 caspervonb

These are the tests that we discussed in the meeting. I'm pretty sure we can adapt them to whatever harness they need to be adapted to. This is more just about getting test coverage.

linclark avatar Jan 27 '21 16:01 linclark

The tests themselves live here: https://github.com/bytecodealliance/wasmtime/tree/main/crates/test-programs/wasi-tests/src/bin and their harness is here: https://github.com/bytecodealliance/wasmtime/tree/main/crates/test-programs/tests/wasm_tests

I'm currently in the middle of some work to renovate these tests and their harness, though, so I wouldn't recommend grabbing them yet.

pchickey avatar Jan 27 '21 18:01 pchickey