Crate test_generator
source ·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§
- Here we define the processors usable for each test genrator
Structs§
Functions§
- Extract a valid Rust identifier from the stem of a path.
- Given a Testsuite and a path, process the path in case is a WASI wasm file.
- Given a Testsuite and a path, process the path in case is a wast file.