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 | |
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')
-rw-r--r-- | test/multi-table.wast.fromBinary | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/multi-table.wast.fromBinary b/test/multi-table.wast.fromBinary deleted file mode 100644 index c27ec806f..000000000 --- a/test/multi-table.wast.fromBinary +++ /dev/null @@ -1,32 +0,0 @@ -(module - (type $none_=>_none (func)) - (import "a" "b" (table $t1 1 10 funcref)) - (global $g1 (ref null $none_=>_none) (ref.func $f)) - (global $g2 i32 (i32.const 0)) - (table $t2 3 3 funcref) - (table $t3 4 4 funcref) - (table $textern 0 externref) - (table $tspecial 5 5 (ref null $none_=>_none)) - (elem $0 (table $t1) (i32.const 0) func $f) - (elem $1 (table $t2) (i32.const 0) func $f) - (elem $activeNonZeroOffset (table $t2) (i32.const 1) func $f $g) - (elem $e3-1 (table $t3) (global.get $g2) funcref (ref.func $f) (ref.null nofunc)) - (elem $e3-2 (table $t3) (i32.const 2) (ref null $none_=>_none) (ref.func $f) (ref.func $g)) - (elem $passive-1 func $f $g) - (elem $passive-2 funcref (ref.func $f) (ref.func $g) (ref.null nofunc)) - (elem $passive-3 (ref null $none_=>_none) (ref.func $f) (ref.func $g) (ref.null nofunc) (global.get $g1)) - (elem $empty func) - (elem $especial (table $tspecial) (i32.const 0) (ref null $none_=>_none) (ref.func $f) (ref.func $h)) - (func $f (type $none_=>_none) - (drop - (ref.func $h) - ) - ) - (func $g (type $none_=>_none) - (nop) - ) - (func $h (type $none_=>_none) - (nop) - ) -) - |