Skip to content

Commit

Permalink
Update the spec test suite submodule (#8805)
Browse files Browse the repository at this point in the history
* Update the spec test suite submodule

* Ignore the `memory64` tests since Wasmtime doesn't implement the
  table64 extension yet.
* Ignore `gc/i31.wast` as it's got new tests which Wasmtime doesn't
  currently pass.

* Only ignore table64-related memory64 tests

* Fix ignoring some tests on Winch
  • Loading branch information
alexcrichton authored Jun 14, 2024
1 parent eb85407 commit 34b6b67
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spec_testsuite
Submodule spec_testsuite updated 40 files
+117 −0 align.wast
+5 −5 elem.wast
+45 −20 memory.wast
+17 −7 proposals/annotations/annotations.wast
+31 −0 proposals/annotations/id.wast
+1,265 −0 proposals/annotations/simd_lane.wast
+96 −0 proposals/exception-handling/legacy/rethrow.wast
+51 −0 proposals/exception-handling/legacy/throw.wast
+276 −0 proposals/exception-handling/legacy/try_catch.wast
+244 −0 proposals/exception-handling/legacy/try_delegate.wast
+351 −5 proposals/function-references/elem.wast
+9 −1 proposals/function-references/return_call.wast
+11 −1 proposals/function-references/return_call_indirect.wast
+11 −0 proposals/function-references/return_call_ref.wast
+679 −0 proposals/gc/br_if.wast
+18 −0 proposals/gc/br_on_cast.wast
+18 −0 proposals/gc/br_on_cast_fail.wast
+17 −0 proposals/gc/br_on_non_null.wast
+28 −0 proposals/gc/br_on_null.wast
+351 −5 proposals/gc/elem.wast
+177 −0 proposals/gc/i31.wast
+654 −0 proposals/gc/local_tee.wast
+31 −4 proposals/gc/type-subtyping.wast
+1,047 −0 proposals/memory64/call_indirect.wast
+45 −20 proposals/memory64/memory.wast
+21 −20 proposals/memory64/memory64.wast
+11,152 −0 proposals/memory64/memory_copy.wast
+1,368 −0 proposals/memory64/memory_fill.wast
+1,930 −0 proposals/memory64/memory_init.wast
+76 −0 proposals/memory64/table.wast
+3,632 −0 proposals/memory64/table_copy.wast
+48 −0 proposals/memory64/table_copy_mixed.wast
+222 −0 proposals/memory64/table_fill.wast
+93 −0 proposals/memory64/table_get.wast
+209 −0 proposals/memory64/table_grow.wast
+2,334 −0 proposals/memory64/table_init.wast
+129 −0 proposals/memory64/table_set.wast
+89 −0 proposals/memory64/table_size.wast
+45 −20 proposals/multi-memory/memory.wast
+8 −1 update-testsuite.sh
21 changes: 21 additions & 0 deletions tests/wast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,26 @@ fn ignore(test: &Path, strategy: Strategy) -> bool {
if part == "extended-const" {
return true;
}
// Wasmtime doesn't implement the table64 extension yet.
if part == "memory64" {
if [
"call_indirect.wast",
"table_copy.wast",
"table_get.wast",
"table_set.wast",
"table_fill.wast",
"table.wast",
"table_init.wast",
"table_copy_mixed.wast",
"table_grow.wast",
"table_size.wast",
]
.iter()
.any(|i| test.ends_with(i))
{
return true;
}
}

// TODO(#6530): These tests require tail calls, but s390x doesn't
// support them yet.
Expand Down Expand Up @@ -175,6 +195,7 @@ fn ignore(test: &Path, strategy: Strategy) -> bool {
"type-subtyping.wast",
"unreached-invalid.wast",
"unreached_valid.wast",
"i31.wast",
]
.iter()
.any(|i| test.ends_with(i));
Expand Down

0 comments on commit 34b6b67

Please sign in to comment.