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

Add timeout to CI WASI tests and update WASI testsuite commit (#1997)

- Add timeout to CI WASI tests to avoid keeping CI node busy in case of
  deadlock in thread tests
- Update wasi-testsuite commit used, after fix in wasi-threads proposal
  https://github.com/WebAssembly/wasi-threads/pull/40
Enrico Loparco 2 лет назад
Родитель
Сommit
1c44411a97

+ 2 - 0
.github/workflows/compilation_on_android_ubuntu.yml

@@ -527,6 +527,7 @@ jobs:
         run: sudo apt-get update && sudo apt install -y jq
 
       - name: run tests
+        timeout-minutes: 10
         run: ./test_wamr.sh ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
         working-directory: ./tests/wamr-test-suites
 
@@ -542,6 +543,7 @@ jobs:
           sudo apt install -y g++-multilib lib32gcc-9-dev
 
       - name: run tests x86_32
+        timeout-minutes: 10
         if: env.TEST_ON_X86_32 == 'true'
         run: ./test_wamr.sh ${{ env.X86_32_TARGET_TEST_OPTIONS }} ${{ matrix.test_option }} -t ${{ matrix.running_mode }}
         working-directory: ./tests/wamr-test-suites

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

@@ -55,7 +55,7 @@ PLATFORM=$(uname -s | tr A-Z a-z)
 PARALLELISM=0
 ENABLE_QEMU=0
 QEMU_FIRMWARE=""
-WASI_TESTSUITE_COMMIT="b18247e2161bea263fe924b8189c67b1d2d10a10"
+WASI_TESTSUITE_COMMIT="aca78d919355ae00af141e6741a439039615b257"
 
 while getopts ":s:cabgvt:m:MCpSXxwPGQF:" opt
 do