wasi-testsuite
wasi-testsuite copied to clipboard
add a dumb timeout logic
issue: https://github.com/WebAssembly/wasi-testsuite/issues/42
a few notes on this implementation:
- the timeout is hardcoded to 3 seconds for now. we can add a configuration in per-test json files when necessary.
- unit test doesn't cover the new code. i have no plan to write tests at this point.
- adapters may need something like https://github.com/yamt/toywasm/pull/117 for better cleanup