Skip to content

Commit

Permalink
[Test] Add the extended-const tests.
Browse files Browse the repository at this point in the history
Signed-off-by: YiYing He <yiying@secondstate.io>
  • Loading branch information
q82419 committed Dec 5, 2023
1 parent 4a28279 commit f13493c
Show file tree
Hide file tree
Showing 193 changed files with 2,163 additions and 0 deletions.
Binary file added extended-const/data/data.0.wasm
Binary file not shown.
Binary file added extended-const/data/data.1.wasm
Binary file not shown.
Binary file added extended-const/data/data.10.wasm
Binary file not shown.
Binary file added extended-const/data/data.11.wasm
Binary file not shown.
Binary file added extended-const/data/data.12.wasm
Binary file not shown.
Binary file added extended-const/data/data.13.wasm
Binary file not shown.
Binary file added extended-const/data/data.14.wasm
Binary file not shown.
Binary file added extended-const/data/data.15.wasm
Binary file not shown.
Binary file added extended-const/data/data.16.wasm
Binary file not shown.
Binary file added extended-const/data/data.17.wasm
Binary file not shown.
Binary file added extended-const/data/data.18.wasm
Binary file not shown.
Binary file added extended-const/data/data.19.wasm
Binary file not shown.
Binary file added extended-const/data/data.2.wasm
Binary file not shown.
Binary file added extended-const/data/data.20.wasm
Binary file not shown.
Binary file added extended-const/data/data.21.wasm
Binary file not shown.
Binary file added extended-const/data/data.22.wasm
Binary file not shown.
Binary file added extended-const/data/data.23.wasm
Binary file not shown.
Binary file added extended-const/data/data.24.wasm
Binary file not shown.
Binary file added extended-const/data/data.25.wasm
Binary file not shown.
Binary file added extended-const/data/data.26.wasm
Binary file not shown.
Binary file added extended-const/data/data.27.wasm
Binary file not shown.
Binary file added extended-const/data/data.28.wasm
Binary file not shown.
Binary file added extended-const/data/data.29.wasm
Binary file not shown.
Binary file added extended-const/data/data.3.wasm
Binary file not shown.
Binary file added extended-const/data/data.30.wasm
Binary file not shown.
Binary file added extended-const/data/data.31.wasm
Binary file not shown.
Binary file added extended-const/data/data.32.wasm
Binary file not shown.
Binary file added extended-const/data/data.33.wasm
Binary file not shown.
Binary file added extended-const/data/data.34.wasm
Binary file not shown.
Binary file added extended-const/data/data.35.wasm
Binary file not shown.
Binary file added extended-const/data/data.36.wasm
Binary file not shown.
Binary file added extended-const/data/data.37.wasm
Binary file not shown.
Binary file added extended-const/data/data.38.wasm
Binary file not shown.
Binary file added extended-const/data/data.39.wasm
Binary file not shown.
Binary file added extended-const/data/data.4.wasm
Binary file not shown.
Binary file added extended-const/data/data.40.wasm
Binary file not shown.
Binary file added extended-const/data/data.41.wasm
Binary file not shown.
Binary file added extended-const/data/data.42.wasm
Binary file not shown.
Binary file added extended-const/data/data.43.wasm
Binary file not shown.
Binary file added extended-const/data/data.44.wasm
Binary file not shown.
Binary file added extended-const/data/data.45.wasm
Binary file not shown.
Binary file added extended-const/data/data.46.wasm
Binary file not shown.
Binary file added extended-const/data/data.47.wasm
Binary file not shown.
Binary file added extended-const/data/data.48.wasm
Binary file not shown.
Binary file added extended-const/data/data.49.wasm
Binary file not shown.
Binary file added extended-const/data/data.5.wasm
Binary file not shown.
Binary file added extended-const/data/data.50.wasm
Binary file not shown.
Binary file added extended-const/data/data.51.wasm
Binary file not shown.
Binary file added extended-const/data/data.52.wasm
Binary file not shown.
Binary file added extended-const/data/data.53.wasm
Binary file not shown.
Binary file added extended-const/data/data.54.wasm
Binary file not shown.
Binary file added extended-const/data/data.55.wasm
Binary file not shown.
Binary file added extended-const/data/data.56.wasm
Binary file not shown.
Binary file added extended-const/data/data.57.wasm
Binary file not shown.
Binary file added extended-const/data/data.58.wasm
Binary file not shown.
Binary file added extended-const/data/data.59.wasm
Binary file not shown.
Binary file added extended-const/data/data.6.wasm
Binary file not shown.
Binary file added extended-const/data/data.60.wasm
Binary file not shown.
Binary file added extended-const/data/data.61.wasm
Binary file not shown.
Binary file added extended-const/data/data.62.wasm
Binary file not shown.
Binary file added extended-const/data/data.63.wasm
Binary file not shown.
Binary file added extended-const/data/data.64.wasm
Binary file not shown.
Binary file added extended-const/data/data.7.wasm
Binary file not shown.
Binary file added extended-const/data/data.8.wasm
Binary file not shown.
Binary file added extended-const/data/data.9.wasm
Binary file not shown.
67 changes: 67 additions & 0 deletions extended-const/data/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{"source_filename": "data.wast",
"commands": [
{"type": "module", "line": 5, "filename": "data.0.wasm"},
{"type": "module", "line": 35, "filename": "data.1.wasm"},
{"type": "module", "line": 39, "filename": "data.2.wasm"},
{"type": "module", "line": 44, "filename": "data.3.wasm"},
{"type": "module", "line": 52, "filename": "data.4.wasm"},
{"type": "module", "line": 62, "filename": "data.5.wasm"},
{"type": "module", "line": 67, "filename": "data.6.wasm"},
{"type": "module", "line": 73, "filename": "data.7.wasm"},
{"type": "module", "line": 78, "filename": "data.8.wasm"},
{"type": "assert_invalid", "line": 85, "filename": "data.9.wasm", "text": "unknown global", "module_type": "binary"},
{"type": "assert_invalid", "line": 89, "filename": "data.10.wasm", "text": "unknown global", "module_type": "binary"},
{"type": "module", "line": 96, "filename": "data.11.wasm"},
{"type": "module", "line": 101, "filename": "data.12.wasm"},
{"type": "module", "line": 107, "filename": "data.13.wasm"},
{"type": "module", "line": 112, "filename": "data.14.wasm"},
{"type": "module", "line": 116, "filename": "data.15.wasm"},
{"type": "module", "line": 121, "filename": "data.16.wasm"},
{"type": "module", "line": 126, "filename": "data.17.wasm"},
{"type": "module", "line": 131, "filename": "data.18.wasm"},
{"type": "module", "line": 135, "filename": "data.19.wasm"},
{"type": "module", "line": 140, "filename": "data.20.wasm"},
{"type": "module", "line": 145, "filename": "data.21.wasm"},
{"type": "module", "line": 150, "filename": "data.22.wasm"},
{"type": "module", "line": 155, "filename": "data.23.wasm"},
{"type": "module", "line": 161, "filename": "data.24.wasm"},
{"type": "module", "line": 167, "filename": "data.25.wasm"},
{"type": "module", "line": 172, "filename": "data.26.wasm"},
{"type": "module", "line": 179, "filename": "data.27.wasm"},
{"type": "module", "line": 184, "filename": "data.28.wasm"},
{"type": "module", "line": 189, "filename": "data.29.wasm"},
{"type": "module", "line": 196, "filename": "data.30.wasm"},
{"type": "assert_uninstantiable", "line": 212, "filename": "data.31.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 220, "filename": "data.32.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 228, "filename": "data.33.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 235, "filename": "data.34.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 242, "filename": "data.35.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 259, "filename": "data.36.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 268, "filename": "data.37.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 275, "filename": "data.38.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 283, "filename": "data.39.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 291, "filename": "data.40.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 299, "filename": "data.41.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 306, "filename": "data.42.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 314, "filename": "data.43.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_uninstantiable", "line": 321, "filename": "data.44.wasm", "text": "out of bounds memory access", "module_type": "binary"},
{"type": "assert_invalid", "line": 331, "filename": "data.45.wasm", "text": "unknown memory", "module_type": "binary"},
{"type": "assert_invalid", "line": 339, "filename": "data.46.wasm", "text": "unknown memory 1", "module_type": "binary"},
{"type": "assert_invalid", "line": 352, "filename": "data.47.wasm", "text": "unknown memory 0", "module_type": "binary"},
{"type": "assert_invalid", "line": 363, "filename": "data.48.wasm", "text": "unknown memory 1", "module_type": "binary"},
{"type": "assert_invalid", "line": 375, "filename": "data.49.wasm", "text": "unknown memory 1", "module_type": "binary"},
{"type": "assert_invalid", "line": 397, "filename": "data.50.wasm", "text": "unknown memory 1", "module_type": "binary"},
{"type": "assert_invalid", "line": 416, "filename": "data.51.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 424, "filename": "data.52.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 432, "filename": "data.53.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 440, "filename": "data.54.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 448, "filename": "data.55.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 457, "filename": "data.56.wasm", "text": "type mismatch", "module_type": "binary"},
{"type": "assert_invalid", "line": 466, "filename": "data.57.wasm", "text": "constant expression required", "module_type": "binary"},
{"type": "assert_invalid", "line": 474, "filename": "data.58.wasm", "text": "constant expression required", "module_type": "binary"},
{"type": "assert_invalid", "line": 482, "filename": "data.59.wasm", "text": "constant expression required", "module_type": "binary"},
{"type": "assert_invalid", "line": 490, "filename": "data.60.wasm", "text": "constant expression required", "module_type": "binary"},
{"type": "assert_invalid", "line": 498, "filename": "data.61.wasm", "text": "constant expression required", "module_type": "binary"},
{"type": "assert_invalid", "line": 507, "filename": "data.62.wasm", "text": "unknown global 0", "module_type": "binary"},
{"type": "assert_invalid", "line": 515, "filename": "data.63.wasm", "text": "unknown global 1", "module_type": "binary"},
{"type": "assert_invalid", "line": 524, "filename": "data.64.wasm", "text": "constant expression required", "module_type": "binary"}]}
Loading

0 comments on commit f13493c

Please sign in to comment.