@@ -101,48 +101,6 @@ class TestFX extends FunSuite {
101
101
testFile(" ./benchmarks/wasm/wasmfx/callref-strip.wast" )
102
102
}
103
103
104
- test(" try-catch" ) {
105
- testFileOutput(" ./benchmarks/wasm/trycatch/try_catch.wat" , List (1 , 2 , 3 , 4 , 5 ))
106
- }
107
-
108
- test(" try-catch-succ" ) {
109
- // no exception was thrown
110
- testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_succ.wat" , List (1 , 3 , 5 ))
111
- }
112
-
113
- test(" try-catch-discard" ) {
114
- // discard the resumption in the catch block
115
- testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_discard.wat" , List (1 , 42 , 4 , 5 ))
116
- }
117
-
118
- test(" nested-try-catch" ) {
119
- testFileOutput(" ./benchmarks/wasm/trycatch/nested_try_catch.wat" , List (1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 ))
120
- }
121
-
122
- test(" try-catch-multishot" ) {
123
- testFileOutput(" ./benchmarks/wasm/trycatch/multishot.wat" , List (1 , 2 , 3 , 4 , 3 , 5 ))
124
- }
125
-
126
- test(" try-catch-deep-handler" ) {
127
- testFileOutput(" ./benchmarks/wasm/trycatch/deep.wat" , List (1 , 2 , 3 , 2 , 4 , 4 , 5 ))
128
- }
129
-
130
- test(" try-catch-block" ) {
131
- testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_block.wat" , List (1 , 2 , 3 , 4 , 5 ))
132
- }
133
-
134
- // Note: the interaction between try-catch and block is not well-defined yet
135
-
136
- /*
137
- test("try-catch-br") {
138
- testFileOutput("./benchmarks/wasm/trycatch/try_catch_br.wat", List(1, 2, 6))
139
- }
140
-
141
- test("try-catch-br2") {
142
- testFileOutput("./benchmarks/wasm/trycatch/try_catch_br2.wat", List(1, 2, 6, 4, 5))
143
- }
144
- */
145
-
146
104
/* REAL WASMFX STUFF */
147
105
test(" cont" ) {
148
106
// testFile("./benchmarks/wasm/wasmfx/callcont.wast", None, ExpInt(11))
0 commit comments