Skip to content

Commit 4297343

Browse files
authored
Update spec test suite submodule (#1984)
No changes here other than the submodule and snapshots.
1 parent 7530629 commit 4297343

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+346
-3582
lines changed

tests/snapshots/testsuite/proposals/custom-page-sizes/custom-page-sizes.wast.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@
613613
}
614614
]
615615
},
616-
"text": "out of bounds"
616+
"text": "out of bounds memory access"
617617
},
618618
{
619619
"type": "assert_return",

tests/snapshots/testsuite/proposals/custom-page-sizes/memory_max.wast.json

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,17 @@
1515
"module_type": "binary",
1616
"text": "unknown import"
1717
},
18-
{
19-
"type": "assert_unlinkable",
20-
"line": 27,
21-
"filename": "memory_max.2.wasm",
22-
"module_type": "binary",
23-
"text": "unknown import"
24-
},
25-
{
26-
"type": "assert_unlinkable",
27-
"line": 34,
28-
"filename": "memory_max.3.wasm",
29-
"module_type": "binary",
30-
"text": "unknown import"
31-
},
3218
{
3319
"type": "assert_malformed",
34-
"line": 46,
35-
"filename": "memory_max.4.wat",
36-
"module_type": "text",
37-
"text": "constant out of range"
38-
},
39-
{
40-
"type": "assert_malformed",
41-
"line": 51,
42-
"filename": "memory_max.5.wat",
20+
"line": 32,
21+
"filename": "memory_max.2.wat",
4322
"module_type": "text",
4423
"text": "constant out of range"
4524
},
4625
{
4726
"type": "assert_invalid",
48-
"line": 56,
49-
"filename": "memory_max.6.wasm",
50-
"module_type": "binary",
51-
"text": "memory size must be at most"
52-
},
53-
{
54-
"type": "assert_invalid",
55-
"line": 62,
56-
"filename": "memory_max.7.wasm",
27+
"line": 37,
28+
"filename": "memory_max.3.wasm",
5729
"module_type": "binary",
5830
"text": "memory size must be at most"
5931
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"source_filename": "tests/testsuite/proposals/custom-page-sizes/memory_max_i64.wast",
3+
"commands": [
4+
{
5+
"type": "assert_unlinkable",
6+
"line": 13,
7+
"filename": "memory_max_i64.0.wasm",
8+
"module_type": "binary",
9+
"text": "unknown import"
10+
},
11+
{
12+
"type": "assert_unlinkable",
13+
"line": 20,
14+
"filename": "memory_max_i64.1.wasm",
15+
"module_type": "binary",
16+
"text": "unknown import"
17+
},
18+
{
19+
"type": "assert_malformed",
20+
"line": 32,
21+
"filename": "memory_max_i64.2.wat",
22+
"module_type": "text",
23+
"text": "constant out of range"
24+
},
25+
{
26+
"type": "assert_invalid",
27+
"line": 37,
28+
"filename": "memory_max_i64.3.wasm",
29+
"module_type": "binary",
30+
"text": "memory size must be at most"
31+
}
32+
]
33+
}

0 commit comments

Comments
 (0)