From 2879e67aa971d7d4b35ff681793f172eff44e900 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 18 Jul 2024 13:22:57 +0900 Subject: [PATCH] wamr-test-suites: Remove dead code (wasi_test) (#3634) --- tests/wamr-test-suites/test_wamr.sh | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/tests/wamr-test-suites/test_wamr.sh b/tests/wamr-test-suites/test_wamr.sh index b9890eed10..563c47e477 100755 --- a/tests/wamr-test-suites/test_wamr.sh +++ b/tests/wamr-test-suites/test_wamr.sh @@ -92,8 +92,8 @@ do # get next suite if there are multiple vaule in -s eval "nxarg=\${$((OPTIND))}" # just get test cases, loop until the next symbol '-' - # IN ====> -s spec wasi unit -t fast-classic - # GET ====> spec wasi unit + # IN ====> -s spec unit -t fast-classic + # GET ====> spec unit while [[ "${nxarg}" != -* && ${nxarg} ]]; do TEST_CASE_ARR+=(${nxarg}) @@ -588,22 +588,6 @@ function spec_test() echo -e "\nFinish spec tests" | tee -a ${REPORT_DIR}/spec_test_report.txt } -function wasi_test() -{ - echo "Now start wasi tests" - touch ${REPORT_DIR}/wasi_test_report.txt - - cd ${WORK_DIR}/../../wasi - [[ $1 != "aot" ]] && \ - python wasi_test.py --interpreter ${IWASM_CMD} ${SGX_OPT}\ - | tee ${REPORT_DIR}/wasi_test_report.txt \ - || \ - python wasi_test.py --aot --aot-compiler ${WAMRC_CMD} ${SGX_OPT}\ - --interpreter ${IWASM_CMD} \ - | tee ${REPORT_DIR}/wasi_test_report.txt - echo "Finish wasi tests" -} - function wamr_compiler_test() { if [[ $1 != "aot" ]]; then