Skip to content

Commit 2879e67

Browse files
authored
wamr-test-suites: Remove dead code (wasi_test) (#3634)
1 parent 7c6fc70 commit 2879e67

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

tests/wamr-test-suites/test_wamr.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ do
9292
# get next suite if there are multiple vaule in -s
9393
eval "nxarg=\${$((OPTIND))}"
9494
# just get test cases, loop until the next symbol '-'
95-
# IN ====> -s spec wasi unit -t fast-classic
96-
# GET ====> spec wasi unit
95+
# IN ====> -s spec unit -t fast-classic
96+
# GET ====> spec unit
9797
while [[ "${nxarg}" != -* && ${nxarg} ]];
9898
do
9999
TEST_CASE_ARR+=(${nxarg})
@@ -588,22 +588,6 @@ function spec_test()
588588
echo -e "\nFinish spec tests" | tee -a ${REPORT_DIR}/spec_test_report.txt
589589
}
590590

591-
function wasi_test()
592-
{
593-
echo "Now start wasi tests"
594-
touch ${REPORT_DIR}/wasi_test_report.txt
595-
596-
cd ${WORK_DIR}/../../wasi
597-
[[ $1 != "aot" ]] && \
598-
python wasi_test.py --interpreter ${IWASM_CMD} ${SGX_OPT}\
599-
| tee ${REPORT_DIR}/wasi_test_report.txt \
600-
|| \
601-
python wasi_test.py --aot --aot-compiler ${WAMRC_CMD} ${SGX_OPT}\
602-
--interpreter ${IWASM_CMD} \
603-
| tee ${REPORT_DIR}/wasi_test_report.txt
604-
echo "Finish wasi tests"
605-
}
606-
607591
function wamr_compiler_test()
608592
{
609593
if [[ $1 != "aot" ]]; then

0 commit comments

Comments
 (0)