From 612d60f54af4edcc8a91c2a759d8504e596cf32e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 9 Jul 2019 20:41:34 +0200 Subject: [PATCH] lucetc-wasi requires units with --max-heap-size --- test/default/wasi-test-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/wasi-test-wrapper.sh b/test/default/wasi-test-wrapper.sh index af64884c..93327070 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -13,7 +13,7 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "lucet" ]; then lucetc-wasi \ --reserved-size "${MAX_MEMORY_TESTS}" \ -o "${1}.so" --opt-level fast "$1" && - lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_TESTS}" "${1}.so" && + lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_TESTS}B" "${1}.so" && rm -f "${1}.so" && exit 0 fi fi