diff --git a/test/common.sh b/test/common.sh index 3b302930..7e3cbc84 100644 --- a/test/common.sh +++ b/test/common.sh @@ -102,7 +102,9 @@ function wat2wasm_avail() { command -v wat2wasm >/dev/null 2>&1 } -WAT2WASM=${WAT2WASM:="$(which wat2wasm) --enable-all"} +if wat2wasm_avail; then + WAT2WASM=${WAT2WASM:="$(which wat2wasm) --enable-all"} +fi function wat2wasm() { # if wat2wasm doesn't exist, skip this utility func ! wat2wasm_avail && return 0 diff --git a/test/monitors/whamm/monitors/correctness/multi-memory.wasm b/test/monitors/whamm/monitors/correctness/multi-memory.wasm index 22016bb3..7020ceb5 100644 Binary files a/test/monitors/whamm/monitors/correctness/multi-memory.wasm and b/test/monitors/whamm/monitors/correctness/multi-memory.wasm differ