abrown opened PR #5907 from wasi-threads-testsuite
to main
:
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<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
abrown requested alexcrichton for a review on PR #5907.
abrown updated PR #5907 from wasi-threads-testsuite
to main
.
abrown updated PR #5907 from wasi-threads-testsuite
to main
.
abrown has marked PR #5907 as ready for review.
alexcrichton submitted PR review.
abrown has enabled auto merge for PR #5907.
abrown updated PR #5907 from wasi-threads-testsuite
to main
.
abrown updated PR #5907 from wasi-threads-testsuite
to main
.
alexcrichton merged PR #5907.
Last updated: Dec 23 2024 at 12:05 UTC