Expand description
Build library to generate a program which runs all the testsuites.
By generating a separate #[test] test for each file, we allow cargo test
to automatically run the files in parallel.
This program is inspired/forked from: https://github.com/bytecodealliance/wasmtime/blob/master/build.rs
Modules§
- processors 🔒
- Here we define the processors usable for each test genrator
Structs§
Functions§
- extract_
name - Extract a valid Rust identifier from the stem of a path.
- test_
directory - test_
directory_ module - wasi_
processor - Given a Testsuite and a path, process the path in case is a WASI wasm file.
- wast_
processor - Given a Testsuite and a path, process the path in case is a wast file.
- with_
test_ module - write_
test 🔒