Skip to content

Commit 312beba

Browse files
author
Guannan Wei
committed
remove try-catch tests
1 parent e5dfa85 commit 312beba

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

src/test/scala/genwasym/TestFx.scala

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -101,48 +101,6 @@ class TestFX extends FunSuite {
101101
testFile("./benchmarks/wasm/wasmfx/callref-strip.wast")
102102
}
103103

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-
146104
/* REAL WASMFX STUFF */
147105
test("cont") {
148106
// testFile("./benchmarks/wasm/wasmfx/callcont.wast", None, ExpInt(11))

0 commit comments

Comments
 (0)