Add internal tests for WASI threads (#1963)
Add internal tests for WASI threads. These tests are run in addition to the ones in the proposal: https://github.com/WebAssembly/wasi-threads/tree/main/test/testsuite. The purpose is to test additional and more complex scenarios.
This commit is contained in:
@ -10,6 +10,7 @@ readonly TARGET=$2
|
||||
|
||||
readonly WORK_DIR=$PWD
|
||||
readonly PLATFORM=$(uname -s | tr A-Z a-z)
|
||||
readonly WAMR_DIR="${WORK_DIR}/../../../.."
|
||||
readonly IWASM_CMD="${WORK_DIR}/../../../../product-mini/platforms/${PLATFORM}/build/iwasm"
|
||||
readonly WAMRC_CMD="${WORK_DIR}/../../../../wamr-compiler/build/wamrc"
|
||||
|
||||
@ -21,7 +22,8 @@ if [[ $MODE != "aot" ]];then
|
||||
-t \
|
||||
tests/c/testsuite/ \
|
||||
tests/assemblyscript/testsuite/ \
|
||||
tests/proposals/wasi-threads/
|
||||
tests/proposals/wasi-threads/ \
|
||||
${WAMR_DIR}/core/iwasm/libraries/lib-wasi-threads/test/
|
||||
exit_code=${PIPESTATUS[0]}
|
||||
deactivate
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user