Skip to content

Commit bb91719

Browse files
committed
run-wasi-testsuite.sh: workaround a wasi-testsuite issue
cf. WebAssembly/wasi-testsuite#81
1 parent ac3a821 commit bb91719

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/run-wasi-testsuite.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ for t in ${TESTS}; do
3333
TESTDIRS="${TESTDIRS} ${DIR}/tests/${t}"
3434
done
3535

36+
# Note: test directories left from the previous runs can confuse
37+
# the test runner. https://github.com/WebAssembly/wasi-testsuite/issues/81
38+
# until it gets fixed in the upstream, use find, which doesn't follow
39+
# symlinks.
40+
find ${DIR}/tests -name "*.cleanup" | xargs rm -r
41+
3642
virtualenv venv
3743
. ./venv/bin/activate
3844
python3 -m pip install -r ${DIR}/test-runner/requirements.txt

0 commit comments

Comments
 (0)