wamr-test-suites: Remove dead code (wasi_test) (#3634)

This commit is contained in:
YAMAMOTO Takashi 2024-07-18 13:22:57 +09:00 committed by GitHub
parent 7c6fc70aea
commit 2879e67aa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,8 +92,8 @@ do
# get next suite if there are multiple vaule in -s # get next suite if there are multiple vaule in -s
eval "nxarg=\${$((OPTIND))}" eval "nxarg=\${$((OPTIND))}"
# just get test cases, loop until the next symbol '-' # just get test cases, loop until the next symbol '-'
# IN ====> -s spec wasi unit -t fast-classic # IN ====> -s spec unit -t fast-classic
# GET ====> spec wasi unit # GET ====> spec unit
while [[ "${nxarg}" != -* && ${nxarg} ]]; while [[ "${nxarg}" != -* && ${nxarg} ]];
do do
TEST_CASE_ARR+=(${nxarg}) TEST_CASE_ARR+=(${nxarg})
@ -588,22 +588,6 @@ function spec_test()
echo -e "\nFinish spec tests" | tee -a ${REPORT_DIR}/spec_test_report.txt 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() function wamr_compiler_test()
{ {
if [[ $1 != "aot" ]]; then if [[ $1 != "aot" ]]; then