diff options
author | Heejin Ahn <aheejin@gmail.com> | 2023-12-13 10:53:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 10:53:50 -0800 |
commit | 0024c8bdd28f701d57e49e65d38b28aad0594299 (patch) | |
tree | 19b9eb323836843d147dedf40495042edcf9404f /test/polymorphic_stack.wast.fromBinary.noDebugInfo | |
parent | 9e636855b582d1499a87fb73f55d85102ce95a58 (diff) | |
download | binaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.tar.gz binaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.tar.bz2 binaryen-0024c8bdd28f701d57e49e65d38b28aad0594299.zip |
[test] Port tests in test/ to test/lit/basic/ (#6160)
This ports all tests from `test/` to `test/lit/basic/`. The set of
commands and `CHECK` lines used are the same as the ones in #6159. Now
we use `lit` to test these, this also deletes all `.wast`,
`.wast.from-wast`, `.wast.fromBinary`, and
`.wast.fromBinary.noDebugInfo` files from `test/` and all related test
routines from the python scripts.
All `CHECK` lines are generated by `update_lit_checks.py --all-items`.
This also deletes these three multi-memory tests in `test/lit/`, because
they seem to contain the same code with the ones in `test/`, which have
been ported to `test/lit/basic/` along with other tests.
- `test/lit/multi-memories-atomics64.wast`
- `test/lit/multi-memories-basics.wast`
- `test/lit/multi-memories-simd.wast`
This also adds newlines between `(func`s in case there are none to make
`CHECK` lines easy to view, and removes some extra existing newlines
here and there.
Diffstat (limited to 'test/polymorphic_stack.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/polymorphic_stack.wast.fromBinary.noDebugInfo | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/test/polymorphic_stack.wast.fromBinary.noDebugInfo b/test/polymorphic_stack.wast.fromBinary.noDebugInfo deleted file mode 100644 index 0069e4254..000000000 --- a/test/polymorphic_stack.wast.fromBinary.noDebugInfo +++ /dev/null @@ -1,76 +0,0 @@ -(module - (type $0 (func (result i32))) - (type $1 (func (param i32) (result i32))) - (type $2 (func)) - (type $3 (func (param i32))) - (import "env" "table" (table $timport$0 9 9 funcref)) - (func $0 (type $0) (result i32) - (block $label$1 (result i32) - (unreachable) - ) - ) - (func $1 (type $1) (param $0 i32) (result i32) - (unreachable) - ) - (func $2 (type $3) (param $0 i32) - (local $1 f32) - (unreachable) - ) - (func $3 (type $2) - (local $0 f32) - (if - (i32.const 259) - (unreachable) - ) - ) - (func $4 (type $2) - (unreachable) - ) - (func $5 (type $0) (result i32) - (block $label$1 (result i32) - (block $label$2 - (drop - (i32.const 0) - ) - (unreachable) - ) - (unreachable) - ) - ) - (func $6 (type $1) (param $0 i32) (result i32) - (if - (local.get $0) - (return - (i32.const 127) - ) - ) - (block $label$2 (result i32) - (drop - (i32.const 0) - ) - (return - (i32.const -32) - ) - ) - ) - (func $7 (type $0) (result i32) - (block $label$1 (result i32) - (block $label$2 (result i32) - (unreachable) - ) - ) - ) - (func $8 (type $0) (result i32) - (block $label$1 (result i32) - (block $label$2 - (if - (i32.const 0) - (unreachable) - (unreachable) - ) - ) - (unreachable) - ) - ) -) - |