Skip to content

Conversation

@wenyongh
Copy link
Owner

@wenyongh wenyongh commented Nov 8, 2021

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

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
@wenyongh wenyongh merged commit 6b3cfaf into wenyongh:main Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants