From d227affc63820c843cf6fa2bf4c46694030c013d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 4 Feb 2020 19:52:25 +0100 Subject: [PATCH] Add wasm3 to the set of supported WebAssembly runtimes --- test/default/wasi-test-wrapper.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/default/wasi-test-wrapper.sh b/test/default/wasi-test-wrapper.sh index 10c3c5e4..06335608 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -30,5 +30,11 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmer-js" ]; then fi fi +if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasm3" ]; then + if command -v wasm3 >/dev/null; then + wasm3 "$1" && exit 0 + fi +fi + echo "WebAssembly runtime failed" >&2 exit 1