@@ -132,29 +132,6 @@ class TestFx extends FunSuite {
132132 testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_block.wat" , List (1 , 2 , 3 , 4 , 5 ))
133133 }
134134
135- // Note: the interaction between try-catch and block is not well-defined yet
136-
137-
138- /* REAL WASMFX STUFF */
139-
140- // TODO: test after implemented cont_bind3
141- // test("simple script") {
142- // TestWastFile("./benchmarks/wasm/wasmfx/cont_bind3.bin.wast")
143- // }
144-
145- // test("cont") {
146- // // testFile("./benchmarks/wasm/wasmfx/callcont.wast", None, ExpInt(11))
147- // testWastFile("./benchmarks/wasm/wasmfx/callcont.bin.wast")
148- // }
149-
150- test(" resume w/o suspend" ) {
151- testWastFile(" ./benchmarks/wasm/wasmfx/resume1.bin.wast" )
152- }
153-
154- // test("test_cont") {
155- // testFile("./benchmarks/wasm/wasmfx/test_cont-strip.wast")
156- // }
157-
158135 test(" try-catch-br2" ) {
159136 testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_br2.wat" , List (1 , 2 , 6 , 4 , 5 ))
160137 }
@@ -181,4 +158,25 @@ class TestFx extends FunSuite {
181158 test(" try-catch-catch-br" ) {
182159 testFileOutput(" ./benchmarks/wasm/trycatch/try_catch_catch_br.wat" , List (1 , 2 , 6 , 4 , 6 , 5 ))
183160 }
161+
162+ /* REAL WASMFX STUFF */
163+
164+ // TODO: test after implemented cont_bind3
165+ // test("simple script") {
166+ // TestWastFile("./benchmarks/wasm/wasmfx/cont_bind3.bin.wast")
167+ // }
168+
169+ // test("cont") {
170+ // // testFile("./benchmarks/wasm/wasmfx/callcont.wast", None, ExpInt(11))
171+ // testWastFile("./benchmarks/wasm/wasmfx/callcont.bin.wast")
172+ // }
173+
174+ test(" resume w/o suspend" ) {
175+ testWastFile(" ./benchmarks/wasm/wasmfx/resume1.bin.wast" )
176+ }
177+
178+ // test("test_cont") {
179+ // testFile("./benchmarks/wasm/wasmfx/test_cont-strip.wast")
180+ // }
181+
184182}
0 commit comments