mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-10-16 13:02:32 +00:00
250aba6874
- Remove "--enable-reference-types" and "--enable-bulk-memory" for wat2wasm to support finished proposals. - Ignore invalid module in the thread spec repo: ``` wast ;; my_elem.wast (module (table $t 10 funcref) (func $f) (elem $t (i32.const 0) 0) (elem $t (i32.const 0) $f $f) (elem $t (offset (i32.const 0)) $f $f) ) ``` run with reference interpreter under spec/interpreter: ``` shell $ ./wasm ../../../my_elem.wast ../../../my_elem.wast:5.9-5.11: syntax error: duplicate elem segment $t ``` - use a specific commit instead of the latest commit on the thread spec repo |
||
---|---|---|
.. | ||
spec-test-script | ||
README.md | ||
test_wamr.sh |
WAMR test suites
This folder contains test scripts and cases for wamr.
Help
./test_wamr.sh --help
Examples
Test spec cases with fast interpreter mode, which will create folder workspace
, download the spec
and wabt
repo, and build iwasm
automatically to test spec cases:
./test_wamr.sh -s spec -t fast-interp
Test spec cases with aot mode, and use the wabt binary release package instead of compiling wabt from the source code:
./test_wamr.sh -s spec -t aot -b
Test spec cases with all modes (classic-interp/fast-interp/aot/jit):
./test_wamr.sh -s spec
Test spec cases with aot mode and pthread enabled:
./test_wamr.sh -s spec -t aot -p
Test spec cases with aot mode and SIMD enabled:
./test_wamr.sh -s spec -t aot -S
Test spec cases with fast-interp on target x86_32:
./test_wamr.sh -s spec -t fast-interp -m x86_32