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/multi-table.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/multi-table.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/multi-table.wast.fromBinary.noDebugInfo | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/multi-table.wast.fromBinary.noDebugInfo b/test/multi-table.wast.fromBinary.noDebugInfo deleted file mode 100644 index c2a5ef858..000000000 --- a/test/multi-table.wast.fromBinary.noDebugInfo +++ /dev/null @@ -1,32 +0,0 @@ -(module - (type $0 (func)) - (import "a" "b" (table $timport$0 1 10 funcref)) - (global $global$0 (ref null $0) (ref.func $0)) - (global $global$1 i32 (i32.const 0)) - (table $0 3 3 funcref) - (table $1 4 4 funcref) - (table $2 0 externref) - (table $3 5 5 (ref null $0)) - (elem $0 (table $timport$0) (i32.const 0) func $0) - (elem $1 (table $0) (i32.const 0) func $0) - (elem $2 (table $0) (i32.const 1) func $0 $1) - (elem $3 (table $1) (global.get $global$1) funcref (ref.func $0) (ref.null nofunc)) - (elem $4 (table $1) (i32.const 2) (ref null $0) (ref.func $0) (ref.func $1)) - (elem $5 func $0 $1) - (elem $6 funcref (ref.func $0) (ref.func $1) (ref.null nofunc)) - (elem $7 (ref null $0) (ref.func $0) (ref.func $1) (ref.null nofunc) (global.get $global$0)) - (elem $8 func) - (elem $9 (table $3) (i32.const 0) (ref null $0) (ref.func $0) (ref.func $2)) - (func $0 (type $0) - (drop - (ref.func $2) - ) - ) - (func $1 (type $0) - (nop) - ) - (func $2 (type $0) - (nop) - ) -) - |