Skip to content

Commit

Permalink
test_wamr.sh: fix -F, change -j to specify which platform to test
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Oct 2, 2023
1 parent 339facc commit a3449ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/wamr-test-suites/test_wamr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function help()
echo "-Q enable qemu"
echo "-F set the firmware path used by qemu"
echo "-C enable code coverage collect"
echo "-j test cosmopolitan"
echo "-j set the platform to test"
}

OPT_PARSED=""
Expand Down Expand Up @@ -59,7 +59,7 @@ QEMU_FIRMWARE=""
# prod/testsuite-all branch
WASI_TESTSUITE_COMMIT="cf64229727f71043d5849e73934e249e12cb9e06"

while getopts ":s:cabgvt:m:MCpSXxwPGQFj:" opt
while getopts ":s:cabgvt:m:MCpSXxwPGQF:j:" opt
do
OPT_PARSED="TRUE"
case $opt in
Expand Down Expand Up @@ -162,8 +162,8 @@ do
QEMU_FIRMWARE=${OPTARG}
;;
j)
echo "test cosmopolitan"
PLATFORM="cosmopolitan"
echo "test platform" ${OPTARG}
PLATFORM=${OPTARG}
;;
?)
help
Expand Down

0 comments on commit a3449ac

Please sign in to comment.