Update wasi-test-wrapper: SSVM was renamed to WasmEdge (#1179)
This commit is contained in:
parent
fd4b6edc0f
commit
17d9198774
@ -39,11 +39,12 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "iwasm" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "ssvm" ]; then
|
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmedge" ]; then
|
||||||
if command -v ssvmc >/dev/null && command -v ssvm >/dev/null; then
|
if command -v wasmedgec >/dev/null && command -v wasmedge >/dev/null; then
|
||||||
ssvmc "$1" "${1}.so" &&
|
wasmedgec "$1" "${1}.so" &&
|
||||||
ssvm --dir=.:. "${1}.so" &&
|
wasmedge --dir=.:. "${1}.so" &&
|
||||||
rm -f "${1}.so"
|
rm -f "${1}.so" &&
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user