Crafter.Build/tests/WasmTestRuns/fixture/tests/hello
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 3044ac34a1
test: a wasm test declared with AddTest runs under wasmtime
WasmTestRuns declares a wasm32-wasip1 test on a fixture project and runs
it through RunTests, which builds it and hands it to the wasmtime runner
its target derives. The test has to pass and print its own output.
Before the fix every such test failed with "failed to open wasm module",
because RunTests left the .wasm off. It skips where the WASI sysroot
with exceptions or wasmtime is missing, as WasmHelloRuns does, so it
runs in the Flatpak and skips on a development box without them.
2026-11-07 03:25:13 +01:00
..
main.cpp test: a wasm test declared with AddTest runs under wasmtime 2026-11-07 03:25:13 +01:00