Skip to content

Commit

Permalink
run-wasi-testsuite.sh: workaround a wasi-testsuite issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 28, 2023
1 parent e677e6f commit 0fac68d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/run-wasi-testsuite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ for t in ${TESTS}; do
TESTDIRS="${TESTDIRS} ${DIR}/tests/${t}"
done

# Note: test directories left from the previous runs can confuse
# the test runner. https://github.com/WebAssembly/wasi-testsuite/issues/81
# until it gets fixed in the upstream, use find, which doesn't follow
# symlinks.
find ${DIR}/tests -name "*.cleanup" | xargs rm -r

virtualenv venv
. ./venv/bin/activate
python3 -m pip install -r ${DIR}/test-runner/requirements.txt
Expand Down

0 comments on commit 0fac68d

Please sign in to comment.