Skip to content

Commit faf6e33

Browse files
committed
Mark test/spec/func.txt as failing
1 parent c6d53e9 commit faf6e33

File tree

1 file changed

+96
-94
lines changed

1 file changed

+96
-94
lines changed
Lines changed: 96 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -1,243 +1,245 @@
11
;;; TOOL: run-interp-spec
22
;;; STDIN_FILE: third_party/testsuite/func.wast
3+
;;; ERROR: 1
34
(;; STDOUT ;;;
45
out/test/spec/func.wast:436: assert_invalid passed:
56
0000000: error: function type variable out of range: 2 (max 2)
67
000001a: error: OnFunction callback failed
7-
out/test/spec/func.wast:520: assert_malformed passed:
8-
out/test/spec/func/func.4.wat:1:76: error: unexpected token "param", expected an instr.
8+
out/test/spec/func.wast:448: expected module to be malformed: "out/test/spec/func/func.3.wat"
9+
out/test/spec/func.wast:560: assert_malformed passed:
10+
out/test/spec/func/func.6.wat:1:76: error: unexpected token "param", expected an instr.
911
... i32) (result i32)))(func (type $sig) (result i32) (param i32) (i32.const 0))
1012
^^^^^
11-
out/test/spec/func.wast:527: assert_malformed passed:
12-
out/test/spec/func/func.5.wat:1:63: error: unexpected token "type", expected an instr.
13+
out/test/spec/func.wast:567: assert_malformed passed:
14+
out/test/spec/func/func.7.wat:1:63: error: unexpected token "type", expected an instr.
1315
... i32) (result i32)))(func (param i32) (type $sig) (result i32) (i32.const 0))
1416
^^^^
15-
out/test/spec/func.wast:534: assert_malformed passed:
16-
out/test/spec/func/func.6.wat:1:76: error: unexpected token "type", expected an instr.
17+
out/test/spec/func.wast:574: assert_malformed passed:
18+
out/test/spec/func/func.8.wat:1:76: error: unexpected token "type", expected an instr.
1719
... i32) (result i32)))(func (param i32) (result i32) (type $sig) (i32.const 0))
1820
^^^^
19-
out/test/spec/func.wast:541: assert_malformed passed:
20-
out/test/spec/func/func.7.wat:1:64: error: unexpected token "type", expected an instr.
21+
out/test/spec/func.wast:581: assert_malformed passed:
22+
out/test/spec/func/func.9.wat:1:64: error: unexpected token "type", expected an instr.
2123
... i32) (result i32)))(func (result i32) (type $sig) (param i32) (i32.const 0))
2224
^^^^
23-
out/test/spec/func.wast:548: assert_malformed passed:
24-
out/test/spec/func/func.8.wat:1:64: error: unexpected token "param", expected an instr.
25+
out/test/spec/func.wast:588: assert_malformed passed:
26+
out/test/spec/func/func.10.wat:1:64: error: unexpected token "param", expected an instr.
2527
... i32) (result i32)))(func (result i32) (param i32) (type $sig) (i32.const 0))
2628
^^^^^
27-
out/test/spec/func/func.8.wat:1:85: error: unexpected token ), expected (.
29+
out/test/spec/func/func.10.wat:1:85: error: unexpected token ), expected (.
2830
... i32) (result i32)))(func (result i32) (param i32) (type $sig) (i32.const 0))
2931
^
30-
out/test/spec/func.wast:555: assert_malformed passed:
31-
out/test/spec/func/func.9.wat:1:21: error: unexpected token "param", expected an instr.
32+
out/test/spec/func.wast:595: assert_malformed passed:
33+
out/test/spec/func/func.11.wat:1:21: error: unexpected token "param", expected an instr.
3234
(func (result i32) (param i32) (i32.const 0))
3335
^^^^^
34-
out/test/spec/func.wast:562: assert_malformed passed:
35-
out/test/spec/func/func.10.wat:1:20: error: expected 0 results, got 1
36+
out/test/spec/func.wast:602: assert_malformed passed:
37+
out/test/spec/func/func.12.wat:1:20: error: expected 0 results, got 1
3638
(type $sig (func))(func (type $sig) (result i32) (i32.const 0))
3739
^^^^
38-
out/test/spec/func.wast:569: assert_malformed passed:
39-
out/test/spec/func/func.11.wat:1:45: error: expected 1 arguments, got 0
40+
out/test/spec/func.wast:609: assert_malformed passed:
41+
out/test/spec/func/func.13.wat:1:45: error: expected 1 arguments, got 0
4042
...g (func (param i32) (result i32)))(func (type $sig) (result i32) (i32.cons...
4143
^^^^
42-
out/test/spec/func.wast:576: assert_malformed passed:
43-
out/test/spec/func/func.12.wat:1:45: error: expected 1 results, got 0
44+
out/test/spec/func.wast:616: assert_malformed passed:
45+
out/test/spec/func/func.14.wat:1:45: error: expected 1 results, got 0
4446
...g (func (param i32) (result i32)))(func (type $sig) (param i32) (i32.const...
4547
^^^^
46-
out/test/spec/func.wast:583: assert_malformed passed:
47-
out/test/spec/func/func.13.wat:1:49: error: expected 2 arguments, got 1
48+
out/test/spec/func.wast:623: assert_malformed passed:
49+
out/test/spec/func/func.15.wat:1:49: error: expected 2 arguments, got 1
4850
...unc (param i32 i32) (result i32)))(func (type $sig) (param i32) (result i3...
4951
^^^^
50-
out/test/spec/func.wast:594: assert_invalid passed:
52+
out/test/spec/func.wast:634: assert_invalid passed:
5153
error: type mismatch in implicit return, expected [i64] but got [i32]
5254
000001d: error: EndFunctionBody callback failed
53-
out/test/spec/func.wast:598: assert_invalid passed:
55+
out/test/spec/func.wast:638: assert_invalid passed:
5456
error: type mismatch in i32.eqz, expected [i32] but got [f32]
5557
000001c: error: OnConvertExpr callback failed
56-
out/test/spec/func.wast:602: assert_invalid passed:
58+
out/test/spec/func.wast:642: assert_invalid passed:
5759
error: type mismatch in f64.neg, expected [f64] but got [i64]
5860
000001e: error: OnUnaryExpr callback failed
59-
out/test/spec/func.wast:610: assert_invalid passed:
61+
out/test/spec/func.wast:650: assert_invalid passed:
6062
error: type mismatch in implicit return, expected [i64] but got [i32]
6163
000001c: error: EndFunctionBody callback failed
62-
out/test/spec/func.wast:614: assert_invalid passed:
64+
out/test/spec/func.wast:654: assert_invalid passed:
6365
error: type mismatch in i32.eqz, expected [i32] but got [f32]
6466
000001b: error: OnConvertExpr callback failed
65-
out/test/spec/func.wast:618: assert_invalid passed:
67+
out/test/spec/func.wast:658: assert_invalid passed:
6668
error: type mismatch in f64.neg, expected [f64] but got [i64]
6769
000001c: error: OnUnaryExpr callback failed
68-
out/test/spec/func.wast:626: assert_invalid passed:
70+
out/test/spec/func.wast:666: assert_invalid passed:
6971
error: type mismatch in implicit return, expected [i32] but got []
7072
0000019: error: EndFunctionBody callback failed
71-
out/test/spec/func.wast:630: assert_invalid passed:
73+
out/test/spec/func.wast:670: assert_invalid passed:
7274
error: type mismatch in implicit return, expected [i64] but got []
7375
0000019: error: EndFunctionBody callback failed
74-
out/test/spec/func.wast:634: assert_invalid passed:
76+
out/test/spec/func.wast:674: assert_invalid passed:
7577
error: type mismatch in implicit return, expected [f32] but got []
7678
0000019: error: EndFunctionBody callback failed
77-
out/test/spec/func.wast:638: assert_invalid passed:
79+
out/test/spec/func.wast:678: assert_invalid passed:
7880
error: type mismatch in implicit return, expected [f64] but got []
7981
0000019: error: EndFunctionBody callback failed
80-
out/test/spec/func.wast:642: assert_invalid passed:
82+
out/test/spec/func.wast:682: assert_invalid passed:
8183
error: type mismatch in implicit return, expected [f64, i32] but got []
8284
000001a: error: EndFunctionBody callback failed
83-
out/test/spec/func.wast:647: assert_invalid passed:
85+
out/test/spec/func.wast:687: assert_invalid passed:
8486
error: type mismatch in implicit return, expected [i32] but got []
8587
000001a: error: EndFunctionBody callback failed
86-
out/test/spec/func.wast:653: assert_invalid passed:
88+
out/test/spec/func.wast:693: assert_invalid passed:
8789
error: type mismatch in implicit return, expected [i32, i32] but got []
8890
000001b: error: EndFunctionBody callback failed
89-
out/test/spec/func.wast:659: assert_invalid passed:
91+
out/test/spec/func.wast:699: assert_invalid passed:
9092
error: type mismatch in function, expected [] but got [i32]
9193
000001a: error: EndFunctionBody callback failed
92-
out/test/spec/func.wast:665: assert_invalid passed:
94+
out/test/spec/func.wast:705: assert_invalid passed:
9395
error: type mismatch in function, expected [] but got [i32, i64]
9496
000001c: error: EndFunctionBody callback failed
95-
out/test/spec/func.wast:671: assert_invalid passed:
97+
out/test/spec/func.wast:711: assert_invalid passed:
9698
error: type mismatch in implicit return, expected [i32] but got [f32]
9799
000001e: error: EndFunctionBody callback failed
98-
out/test/spec/func.wast:677: assert_invalid passed:
100+
out/test/spec/func.wast:717: assert_invalid passed:
99101
error: type mismatch in implicit return, expected [f32, f32] but got [f32]
100102
000001f: error: EndFunctionBody callback failed
101-
out/test/spec/func.wast:683: assert_invalid passed:
103+
out/test/spec/func.wast:723: assert_invalid passed:
102104
error: type mismatch in function, expected [] but got [f32]
103105
0000023: error: EndFunctionBody callback failed
104-
out/test/spec/func.wast:690: assert_invalid passed:
106+
out/test/spec/func.wast:730: assert_invalid passed:
105107
error: type mismatch in return, expected [i32] but got []
106108
0000019: error: OnReturnExpr callback failed
107-
out/test/spec/func.wast:696: assert_invalid passed:
109+
out/test/spec/func.wast:736: assert_invalid passed:
108110
error: type mismatch in return, expected [i32, i32] but got []
109111
000001a: error: OnReturnExpr callback failed
110-
out/test/spec/func.wast:702: assert_invalid passed:
112+
out/test/spec/func.wast:742: assert_invalid passed:
111113
error: type mismatch in return, expected [i32] but got []
112114
000001a: error: OnReturnExpr callback failed
113-
out/test/spec/func.wast:708: assert_invalid passed:
115+
out/test/spec/func.wast:748: assert_invalid passed:
114116
error: type mismatch in return, expected [i32, i64] but got []
115117
000001b: error: OnReturnExpr callback failed
116-
out/test/spec/func.wast:714: assert_invalid passed:
118+
out/test/spec/func.wast:754: assert_invalid passed:
117119
error: type mismatch in return, expected [i32] but got [i64]
118120
000001b: error: OnReturnExpr callback failed
119-
out/test/spec/func.wast:720: assert_invalid passed:
121+
out/test/spec/func.wast:760: assert_invalid passed:
120122
error: type mismatch in return, expected [i64, i64] but got [i64]
121123
000001c: error: OnReturnExpr callback failed
122-
out/test/spec/func.wast:727: assert_invalid passed:
124+
out/test/spec/func.wast:767: assert_invalid passed:
123125
error: type mismatch in return, expected [i32] but got []
124126
0000019: error: OnReturnExpr callback failed
125-
out/test/spec/func.wast:733: assert_invalid passed:
127+
out/test/spec/func.wast:773: assert_invalid passed:
126128
error: type mismatch in return, expected [i32, i32] but got []
127129
000001a: error: OnReturnExpr callback failed
128-
out/test/spec/func.wast:739: assert_invalid passed:
130+
out/test/spec/func.wast:779: assert_invalid passed:
129131
error: type mismatch in return, expected [i32, i32] but got [i32]
130132
000001c: error: OnReturnExpr callback failed
131-
out/test/spec/func.wast:745: assert_invalid passed:
133+
out/test/spec/func.wast:785: assert_invalid passed:
132134
error: type mismatch in return, expected [i32] but got []
133135
000001a: error: OnReturnExpr callback failed
134-
out/test/spec/func.wast:751: assert_invalid passed:
136+
out/test/spec/func.wast:791: assert_invalid passed:
135137
error: type mismatch in return, expected [i32, i32] but got []
136138
000001b: error: OnReturnExpr callback failed
137-
out/test/spec/func.wast:757: assert_invalid passed:
139+
out/test/spec/func.wast:797: assert_invalid passed:
138140
error: type mismatch in return, expected [i32] but got [i64]
139141
000001b: error: OnReturnExpr callback failed
140-
out/test/spec/func.wast:763: assert_invalid passed:
142+
out/test/spec/func.wast:803: assert_invalid passed:
141143
error: type mismatch in return, expected [i32, i32] but got [i64]
142144
000001c: error: OnReturnExpr callback failed
143-
out/test/spec/func.wast:769: assert_invalid passed:
145+
out/test/spec/func.wast:809: assert_invalid passed:
144146
error: type mismatch in return, expected [i32] but got [i64]
145147
000001b: error: OnReturnExpr callback failed
146-
out/test/spec/func.wast:775: assert_invalid passed:
148+
out/test/spec/func.wast:815: assert_invalid passed:
147149
error: type mismatch in return, expected [i32, i32] but got [i32]
148150
000001c: error: OnReturnExpr callback failed
149-
out/test/spec/func.wast:782: assert_invalid passed:
151+
out/test/spec/func.wast:822: assert_invalid passed:
150152
error: type mismatch in br, expected [i32] but got []
151153
000001a: error: OnBrExpr callback failed
152-
out/test/spec/func.wast:788: assert_invalid passed:
154+
out/test/spec/func.wast:828: assert_invalid passed:
153155
error: type mismatch in br, expected [i32, i32] but got []
154156
000001b: error: OnBrExpr callback failed
155-
out/test/spec/func.wast:794: assert_invalid passed:
157+
out/test/spec/func.wast:834: assert_invalid passed:
156158
error: type mismatch in br, expected [i32] but got [f32]
157159
000001f: error: OnBrExpr callback failed
158-
out/test/spec/func.wast:800: assert_invalid passed:
160+
out/test/spec/func.wast:840: assert_invalid passed:
159161
error: type mismatch in br, expected [i32, i32] but got [i32]
160162
000001d: error: OnBrExpr callback failed
161-
out/test/spec/func.wast:806: assert_invalid passed:
163+
out/test/spec/func.wast:846: assert_invalid passed:
162164
error: type mismatch in br, expected [i32] but got []
163165
000001a: error: OnBrExpr callback failed
164-
out/test/spec/func.wast:812: assert_invalid passed:
166+
out/test/spec/func.wast:852: assert_invalid passed:
165167
error: type mismatch in br, expected [i32, i32] but got []
166168
000001b: error: OnBrExpr callback failed
167-
out/test/spec/func.wast:818: assert_invalid passed:
169+
out/test/spec/func.wast:858: assert_invalid passed:
168170
error: type mismatch in br, expected [i32] but got [i64]
169171
000001c: error: OnBrExpr callback failed
170-
out/test/spec/func.wast:824: assert_invalid passed:
172+
out/test/spec/func.wast:864: assert_invalid passed:
171173
error: type mismatch in br, expected [i32, i32] but got [i32]
172174
000001d: error: OnBrExpr callback failed
173-
out/test/spec/func.wast:830: assert_invalid passed:
175+
out/test/spec/func.wast:870: assert_invalid passed:
174176
error: type mismatch in br, expected [i32] but got [i64]
175177
000001c: error: OnBrExpr callback failed
176-
out/test/spec/func.wast:837: assert_invalid passed:
178+
out/test/spec/func.wast:877: assert_invalid passed:
177179
error: type mismatch in br, expected [i32] but got []
178180
000001c: error: OnBrExpr callback failed
179-
out/test/spec/func.wast:843: assert_invalid passed:
181+
out/test/spec/func.wast:883: assert_invalid passed:
180182
error: type mismatch in br, expected [i32, i32] but got []
181183
000001d: error: OnBrExpr callback failed
182-
out/test/spec/func.wast:849: assert_invalid passed:
184+
out/test/spec/func.wast:889: assert_invalid passed:
183185
error: type mismatch in br, expected [i32] but got []
184186
000001d: error: OnBrExpr callback failed
185-
out/test/spec/func.wast:855: assert_invalid passed:
187+
out/test/spec/func.wast:895: assert_invalid passed:
186188
error: type mismatch in br, expected [i32, i32] but got []
187189
000001e: error: OnBrExpr callback failed
188-
out/test/spec/func.wast:861: assert_invalid passed:
190+
out/test/spec/func.wast:901: assert_invalid passed:
189191
error: type mismatch in br, expected [i32] but got [i64]
190192
000001e: error: OnBrExpr callback failed
191-
out/test/spec/func.wast:867: assert_invalid passed:
193+
out/test/spec/func.wast:907: assert_invalid passed:
192194
error: type mismatch in br, expected [i32, i32] but got [i32]
193195
000001f: error: OnBrExpr callback failed
194-
out/test/spec/func.wast:877: assert_malformed passed:
195-
out/test/spec/func/func.62.wat:1:14: error: unexpected token "local", expected an instr.
196+
out/test/spec/func.wast:917: assert_malformed passed:
197+
out/test/spec/func/func.64.wat:1:14: error: unexpected token "local", expected an instr.
196198
(func (nop) (local i32))
197199
^^^^^
198-
out/test/spec/func.wast:881: assert_malformed passed:
199-
out/test/spec/func/func.63.wat:1:14: error: unexpected token "param", expected an instr.
200+
out/test/spec/func.wast:921: assert_malformed passed:
201+
out/test/spec/func/func.65.wat:1:14: error: unexpected token "param", expected an instr.
200202
(func (nop) (param i32))
201203
^^^^^
202-
out/test/spec/func.wast:885: assert_malformed passed:
203-
out/test/spec/func/func.64.wat:1:14: error: unexpected token "result", expected an instr.
204+
out/test/spec/func.wast:925: assert_malformed passed:
205+
out/test/spec/func/func.66.wat:1:14: error: unexpected token "result", expected an instr.
204206
(func (nop) (result i32))
205207
^^^^^^
206-
out/test/spec/func.wast:889: assert_malformed passed:
207-
out/test/spec/func/func.65.wat:1:20: error: unexpected token "param", expected an instr.
208+
out/test/spec/func.wast:929: assert_malformed passed:
209+
out/test/spec/func/func.67.wat:1:20: error: unexpected token "param", expected an instr.
208210
(func (local i32) (param i32))
209211
^^^^^
210-
out/test/spec/func.wast:893: assert_malformed passed:
211-
out/test/spec/func/func.66.wat:1:20: error: unexpected token "result", expected an instr.
212+
out/test/spec/func.wast:933: assert_malformed passed:
213+
out/test/spec/func/func.68.wat:1:20: error: unexpected token "result", expected an instr.
212214
(func (local i32) (result i32) (local.get 0))
213215
^^^^^^
214-
out/test/spec/func.wast:897: assert_malformed passed:
215-
out/test/spec/func/func.67.wat:1:21: error: unexpected token "param", expected an instr.
216+
out/test/spec/func.wast:937: assert_malformed passed:
217+
out/test/spec/func/func.69.wat:1:21: error: unexpected token "param", expected an instr.
216218
(func (result i32) (param i32) (local.get 0))
217219
^^^^^
218-
out/test/spec/func.wast:903: assert_malformed passed:
219-
out/test/spec/func/func.68.wat:1:13: error: redefinition of function "$foo"
220+
out/test/spec/func.wast:943: assert_malformed passed:
221+
out/test/spec/func/func.70.wat:1:13: error: redefinition of function "$foo"
220222
(func $foo)(func $foo)
221223
^^^^
222-
out/test/spec/func.wast:907: assert_malformed passed:
223-
out/test/spec/func/func.69.wat:1:28: error: redefinition of function "$foo"
224+
out/test/spec/func.wast:947: assert_malformed passed:
225+
out/test/spec/func/func.71.wat:1:28: error: redefinition of function "$foo"
224226
(import "" "" (func $foo))(func $foo)
225227
^^^^
226-
out/test/spec/func.wast:911: assert_malformed passed:
227-
out/test/spec/func/func.70.wat:1:28: error: redefinition of function "$foo"
228+
out/test/spec/func.wast:951: assert_malformed passed:
229+
out/test/spec/func/func.72.wat:1:28: error: redefinition of function "$foo"
228230
(import "" "" (func $foo))(import "" "" (func $foo))
229231
^^^^^^
230-
out/test/spec/func.wast:916: assert_malformed passed:
231-
out/test/spec/func/func.71.wat:1:31: error: redefinition of parameter "$foo"
232+
out/test/spec/func.wast:956: assert_malformed passed:
233+
out/test/spec/func/func.73.wat:1:31: error: redefinition of parameter "$foo"
232234
(func (param $foo i32) (param $foo i32))
233235
^^^^
234-
out/test/spec/func.wast:918: assert_malformed passed:
235-
out/test/spec/func/func.72.wat:1:31: error: redefinition of parameter "$foo"
236+
out/test/spec/func.wast:958: assert_malformed passed:
237+
out/test/spec/func/func.74.wat:1:31: error: redefinition of parameter "$foo"
236238
(func (param $foo i32) (local $foo i32))
237239
^^^^
238-
out/test/spec/func.wast:920: assert_malformed passed:
239-
out/test/spec/func/func.73.wat:1:31: error: redefinition of local "$foo"
240+
out/test/spec/func.wast:960: assert_malformed passed:
241+
out/test/spec/func/func.75.wat:1:31: error: redefinition of local "$foo"
240242
(func (local $foo i32) (local $foo i32))
241243
^^^^
242-
164/164 tests passed.
244+
167/168 tests passed.
243245
;;; STDOUT ;;)

0 commit comments

Comments
 (0)