summaryrefslogtreecommitdiff
path: root/test/spec/traps.txt
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-10-13 18:37:53 -0700
committerBen Smith <binji@chromium.org>2015-10-13 18:37:53 -0700
commit534349a24d7485dd2098ee10df080df53354935d (patch)
treef17073ab3322fcbdc1ddd48865980f68eda7c370 /test/spec/traps.txt
parent4ad13fc40a15f85d95b145c5b84c4e156c6af059 (diff)
downloadwabt-534349a24d7485dd2098ee10df080df53354935d.tar.gz
wabt-534349a24d7485dd2098ee10df080df53354935d.tar.bz2
wabt-534349a24d7485dd2098ee10df080df53354935d.zip
run spec tests that crash
Rather than skipping tests that crash v8, run them but strip the callstack so the output is consistent.
Diffstat (limited to 'test/spec/traps.txt')
-rw-r--r--test/spec/traps.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/test/spec/traps.txt b/test/spec/traps.txt
index a9467b56..a474c6df 100644
--- a/test/spec/traps.txt
+++ b/test/spec/traps.txt
@@ -1,4 +1,27 @@
-# SKIP: Unsupported opcode #162:ExprI64SConvertF32
+# ERROR: 1
# EXE: test/run-d8.py
# FLAGS: --spec
# STDIN_FILE: third_party/spec/ml-proto/test/traps.wast
+# STDERR:
+
+
+#
+# Fatal error in ../../../../src/wasm/tf-builder.cc, line 199
+# Unsupported opcode #162:ExprI64SConvertF32
+#
+
+
+# STDOUT:
+instantiating module
+$assert_trap_0 failed, didn't throw
+$assert_trap_1 failed, didn't throw
+$assert_trap_2 failed, didn't throw
+$assert_trap_3 failed, didn't throw
+0/4 tests passed.
+instantiating module
+$assert_trap_0 failed, didn't throw
+$assert_trap_1 failed, didn't throw
+$assert_trap_2 failed, didn't throw
+$assert_trap_3 failed, didn't throw
+0/4 tests passed.
+instantiating module