Просмотр исходного кода

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: `                    ;&'
```
Wenyong Huang 2 лет назад
Родитель
Сommit
1ba4acd1c7
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      tests/wamr-test-suites/test_wamr.sh

+ 2 - 2
tests/wamr-test-suites/test_wamr.sh

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