Speed up the spec case test by parallelism (#819)
Port spec-test-script/all.sh to spec-test-script/all.py and enable to run spec cases with multiple threads parallelly: - It reduces spec_test.yml from ~14min to ~9min and reduces compilation_on_sgx.yml from ~18min to ~12min - run `./test_wamr.sh` will keep the same experience likes before by default - run `./test_wamr.sh -P` will enable parallelism mode - in parallelism mode, all.py will be in a less-output mode. It only outputs the last words of failed cases and will not output logs for those passed
This commit is contained in:
2
.github/workflows/compilation_on_sgx.yml
vendored
2
.github/workflows/compilation_on_sgx.yml
vendored
@ -455,5 +455,5 @@ jobs:
|
||||
if: ${{ matrix.light == 'green' }}
|
||||
run: |
|
||||
source /opt/intel/sgxsdk/environment
|
||||
./test_wamr.sh -x -p -s spec -t ${{ matrix.running_mode }}
|
||||
./test_wamr.sh -x -p -s spec -P -t ${{ matrix.running_mode }}
|
||||
working-directory: ./tests/wamr-test-suites
|
||||
|
||||
Reference in New Issue
Block a user