Add malformed test cases (#3459)

This commit is contained in:
Zhang, Yi
2024-05-21 16:38:34 +08:00
committed by GitHub
parent 15d191943a
commit 591a20b917
53 changed files with 72 additions and 2 deletions

View File

@ -14,7 +14,7 @@ function help()
{
echo "test_wamr.sh [options]"
echo "-c clean previous test results, not start test"
echo "-s {suite_name} test only one suite (spec|wasi_certification|wamr_compiler)"
echo "-s {suite_name} test only one suite (spec|malformed|wasi_certification|wamr_compiler)"
echo "-m set compile target of iwasm(x86_64|x86_32|armv7|armv7_vfp|thumbv7|thumbv7_vfp|"
echo " riscv32|riscv32_ilp32f|riscv32_ilp32d|riscv64|"
echo " riscv64_lp64f|riscv64_lp64d|aarch64|aarch64_vfp)"
@ -1104,7 +1104,7 @@ if [[ $TEST_CASE_ARR ]];then
trigger || (echo "TEST FAILED"; exit 1)
else
# test all suite, ignore polybench and libsodium because of long time cost
TEST_CASE_ARR=("spec")
TEST_CASE_ARR=("spec" "malformed")
: '
if [[ $COLLECT_CODE_COVERAGE == 1 ]];then
# add polybench if collecting code coverage data