Skip to content

Commit

Permalink
wamr-test-suites: Remove dead code (wasi_test) (bytecodealliance#3634)
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt authored Jul 18, 2024
1 parent 7c6fc70 commit 2879e67
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions tests/wamr-test-suites/test_wamr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2879e67

Please sign in to comment.