Fix wamr-test-suites script for macos (#2819)

Update the wabt release binary name for macos and fix a syntax error:

```bash
./test_wamr.sh: line 356: syntax error near unexpected token `;'
./test_wamr.sh: line 356: `                    ;&'
```
This commit is contained in:
Wenyong Huang 2023-11-24 16:21:05 +08:00 committed by GitHub
parent 2a3c93f502
commit 1ba4acd1c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,12 +329,12 @@ function setup_wabt()
if [ ! -f ${WAT2WASM} ]; then if [ ! -f ${WAT2WASM} ]; then
case ${PLATFORM} in case ${PLATFORM} in
cosmopolitan) cosmopolitan)
;& ;;
linux) linux)
WABT_PLATFORM=ubuntu WABT_PLATFORM=ubuntu
;; ;;
darwin) darwin)
WABT_PLATFORM=macos WABT_PLATFORM=macos-12
;; ;;
windows) windows)
WABT_PLATFORM=windows WABT_PLATFORM=windows