Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for all modules #384

Open
linclark opened this issue Jan 26, 2021 · 3 comments
Open

Add tests for all modules #384

linclark opened this issue Jan 26, 2021 · 3 comments

Comments

@linclark
Copy link
Member

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 linclark added this to the WASI Modularization milestone Jan 26, 2021
@caspervonb
Copy link
Contributor

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?

@linclark
Copy link
Member Author

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.

@pchickey
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants