Repository navigation
wasi-threads: run test suite - #5907
Merged
alexcrichton merged 6 commits intoMar 4, 2023
Merged
Conversation
This change enables the running of the wasi-threads [test suite]. It relies on a Wasmtime CLI binary being available and runs all `*.wasm` and `*.wat` files present in the test suite directory. The results of each execution are compared against a JSON spec file with the same base name as the WebAssembly module. The spec file defines the expected exit code, e.g. This commit does not yet build any `*.c` or `*.s` files from the test suite. That could be done later, perhaps upstream; in the meantime, this work is still valuable as it lays the foundation for running other WASI tests from the in-progress [wasi-testsuite] which share the same JSON spec infrastructure. [test suite]: https://github.com/WebAssembly/wasi-threads/tree/main/test/testsuite [wasi-testsuite]: https://github.com/WebAssembly/wasi-testsuite
Member
Author
|
I marked this as "draft" for now because I'm not sure where this should live. It might be better up at the top level |
abrown
marked this pull request as ready for review
March 3, 2023 17:12
alexcrichton
approved these changes
Mar 3, 2023
abrown
enabled auto-merge
March 3, 2023 17:19
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Mar 3, 2023
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Mar 3, 2023
prtest:full
prtest:full
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change enables the running of the wasi-threads test suite. It relies on a Wasmtime CLI binary being available and runs all
*.wasmand*.watfiles present in the test suite directory. The results of each execution are compared against a JSON spec file with the same base name as the WebAssembly module. The spec file defines the expected exit code, e.g.This commit does not yet build any
*.cor*.sfiles from the test suite. That could be done later, perhaps upstream; in the meantime, this work is still valuable as it lays the foundation for running other WASI tests from the in-progress wasi-testsuite which share the same JSON spec infrastructure.