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

wasi-threads: run test suite #5907

Merged
merged 6 commits into from
Mar 4, 2023

Commits on Mar 1, 2023

  1. wasi-threads: run test suite

    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
    abrown committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    2ecfa56 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    5096793 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07b0386 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9954783 View commit details
    Browse the repository at this point in the history
  4. fix: ignore tests on Windows

    prtest:full
    abrown committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    c407eea View commit details
    Browse the repository at this point in the history
  5. fix: cfg_attr syntax

    prtest:full
    abrown committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    e53ae8e View commit details
    Browse the repository at this point in the history