summaryrefslogtreecommitdiff
path: root/test/spec/nop.txt
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-01-27 11:00:34 -0800
committerGitHub <noreply@github.com>2017-01-27 11:00:34 -0800
commit48402a5e44f99426c62fab94ed2b3ddf36bd75df (patch)
tree4c34b55b7c5a8cf329a14e3ed3ca8e8795c837f5 /test/spec/nop.txt
parent85947db54125eecc6d6755103b9984828766bc4b (diff)
downloadwabt-48402a5e44f99426c62fab94ed2b3ddf36bd75df.tar.gz
wabt-48402a5e44f99426c62fab94ed2b3ddf36bd75df.tar.bz2
wabt-48402a5e44f99426c62fab94ed2b3ddf36bd75df.zip
Implement assert_invalid for wasm-interp (#294)
Diffstat (limited to 'test/spec/nop.txt')
-rw-r--r--test/spec/nop.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/spec/nop.txt b/test/spec/nop.txt
index ee9328a7..bf56cfd9 100644
--- a/test/spec/nop.txt
+++ b/test/spec/nop.txt
@@ -33,5 +33,17 @@ assert_invalid error:
out/third_party/testsuite/nop.wast:258:11: type stack at end of function is 0. expected 1
(module (func $type-f64 (result f64) (nop)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-50/50 tests passed.
+out/third_party/testsuite/nop.wast:246: assert_invalid passed:
+ error: type stack size too small at implicit return. got 0, expected at least 1
+ error: @0x0000001a: end_function_body callback failed
+out/third_party/testsuite/nop.wast:250: assert_invalid passed:
+ error: type stack size too small at implicit return. got 0, expected at least 1
+ error: @0x0000001a: end_function_body callback failed
+out/third_party/testsuite/nop.wast:254: assert_invalid passed:
+ error: type stack size too small at implicit return. got 0, expected at least 1
+ error: @0x0000001a: end_function_body callback failed
+out/third_party/testsuite/nop.wast:258: assert_invalid passed:
+ error: type stack size too small at implicit return. got 0, expected at least 1
+ error: @0x0000001a: end_function_body callback failed
+54/54 tests passed.
;;; STDOUT ;;)