mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-09 21:26:21 +00:00
Run rust tests from wasi-testsuite (#2484)
This commit is contained in:
parent
d8ee771e28
commit
74acfd964e
|
@ -57,7 +57,7 @@ PARALLELISM=0
|
||||||
ENABLE_QEMU=0
|
ENABLE_QEMU=0
|
||||||
QEMU_FIRMWARE=""
|
QEMU_FIRMWARE=""
|
||||||
# prod/testsuite-all branch
|
# prod/testsuite-all branch
|
||||||
WASI_TESTSUITE_COMMIT="cf64229727f71043d5849e73934e249e12cb9e06"
|
WASI_TESTSUITE_COMMIT="ee807fc551978490bf1c277059aabfa1e589a6c2"
|
||||||
|
|
||||||
while getopts ":s:cabgvt:m:MCpSXxwPGQF:j:" opt
|
while getopts ":s:cabgvt:m:MCpSXxwPGQF:j:" opt
|
||||||
do
|
do
|
||||||
|
|
|
@ -20,6 +20,7 @@ readonly IWASM_CMD="${WORK_DIR}/../../../../product-mini/platforms/${PLATFORM}/b
|
||||||
readonly IWASM_CMD_STRESS="${IWASM_CMD} --max-threads=12"
|
readonly IWASM_CMD_STRESS="${IWASM_CMD} --max-threads=12"
|
||||||
readonly WAMRC_CMD="${WORK_DIR}/../../../../wamr-compiler/build/wamrc"
|
readonly WAMRC_CMD="${WORK_DIR}/../../../../wamr-compiler/build/wamrc"
|
||||||
readonly C_TESTS="tests/c/testsuite/"
|
readonly C_TESTS="tests/c/testsuite/"
|
||||||
|
readonly RUST_TESTS="tests/rust/testsuite/"
|
||||||
readonly ASSEMBLYSCRIPT_TESTS="tests/assemblyscript/testsuite/"
|
readonly ASSEMBLYSCRIPT_TESTS="tests/assemblyscript/testsuite/"
|
||||||
readonly THREAD_PROPOSAL_TESTS="tests/proposals/wasi-threads/"
|
readonly THREAD_PROPOSAL_TESTS="tests/proposals/wasi-threads/"
|
||||||
readonly THREAD_INTERNAL_TESTS="${WAMR_DIR}/core/iwasm/libraries/lib-wasi-threads/test/"
|
readonly THREAD_INTERNAL_TESTS="${WAMR_DIR}/core/iwasm/libraries/lib-wasi-threads/test/"
|
||||||
|
@ -70,6 +71,7 @@ if [[ $MODE != "aot" ]];then
|
||||||
-r adapters/wasm-micro-runtime.py \
|
-r adapters/wasm-micro-runtime.py \
|
||||||
-t \
|
-t \
|
||||||
${C_TESTS} \
|
${C_TESTS} \
|
||||||
|
${RUST_TESTS} \
|
||||||
${ASSEMBLYSCRIPT_TESTS} \
|
${ASSEMBLYSCRIPT_TESTS} \
|
||||||
${THREAD_PROPOSAL_TESTS} \
|
${THREAD_PROPOSAL_TESTS} \
|
||||||
${THREAD_INTERNAL_TESTS} \
|
${THREAD_INTERNAL_TESTS} \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user