Skip to content

Commit 76d5538

Browse files
committed
run-wasmtime-wasi-tests.sh: use os-specific blacklist only when it exists
1 parent 1cec90a commit 76d5538

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/run-wasmtime-wasi-tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ test -d "${WASM_DIR}" || fetch_test_bin
1818

1919
SKIPLIST=
2020
BLACKLIST="${THIS_DIR}/wasmtime-wasi-tests-blacklist.txt"
21-
BLACKLIST="${BLACKLIST} ${THIS_DIR}/wasmtime-wasi-tests-blacklist-$(uname -s).txt"
21+
22+
OS_BLACKLIST="${THIS_DIR}/wasmtime-wasi-tests-blacklist-$(uname -s).txt"
23+
if [ -f ${PLATFORM_BLACKLIST} ]; then
24+
BLACKLIST="${BLACKLIST} ${OS_BLACKLIST}"
25+
fi
2226

2327
if [ "${WASM_ON_WASM:-0}" -ne 0 ]; then
2428
run_wasi_test()

0 commit comments

Comments
 (0)