diff options
author | Ben Smith <binji@chromium.org> | 2015-11-17 12:12:19 -0800 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2015-11-17 12:12:19 -0800 |
commit | 6fcd1ac50cd451ae1682069526c07ab2db8e8e96 (patch) | |
tree | df968224f0a346c2e883e9f312bd0db78b0518aa /test/spec | |
parent | 0f4363e8119fbed848456a6b2f2aa2abb926e9ca (diff) | |
download | wabt-6fcd1ac50cd451ae1682069526c07ab2db8e8e96.tar.gz wabt-6fcd1ac50cd451ae1682069526c07ab2db8e8e96.tar.bz2 wabt-6fcd1ac50cd451ae1682069526c07ab2db8e8e96.zip |
update v8-native-prototype, mark broken tests
Test failures:
- i64.clz is implemented in v8-native, but it seems to return i32
instead of i64.
- page_size was removed from v8-native, but testsuite hasn't been
updated to remove it yet.
Diffstat (limited to 'test/spec')
-rw-r--r-- | test/spec/i64.txt | 12 | ||||
-rw-r--r-- | test/spec/memory_trap.txt | 23 | ||||
-rw-r--r-- | test/spec/resizing.txt | 22 |
3 files changed, 25 insertions, 32 deletions
diff --git a/test/spec/i64.txt b/test/spec/i64.txt index 34222129..a15a044c 100644 --- a/test/spec/i64.txt +++ b/test/spec/i64.txt @@ -3,10 +3,12 @@ ;;; FLAGS: --spec ;;; STDIN_FILE: third_party/testsuite/i64.wast (;; STDERR ;;; -# -# Fatal error in ../../../../src/wasm/tf-builder.cc, line 210 -# Unsupported opcode #114:ExprI64Clz -# -d8 raised signal SIGILL ;;; STDERR ;;) +(;; STDOUT ;;; +WasmModule::Instantiate(): Compiling WASM function #13:clz failed:Result = ImplicitReturn[0] expected type int64, found ExprI64Clz of type int32 @+3 + + var module = WASM.instantiateModule(u8a.buffer, ffi); + ^ + +;;; STDOUT ;;) diff --git a/test/spec/memory_trap.txt b/test/spec/memory_trap.txt index 6b0a3f55..8b51080b 100644 --- a/test/spec/memory_trap.txt +++ b/test/spec/memory_trap.txt @@ -1,19 +1,14 @@ +;;; ERROR: 1 ;;; EXE: test/run-d8.py ;;; FLAGS: --spec ;;; STDIN_FILE: third_party/testsuite/memory_trap.wast +(;; STDERR ;;; + +;;; STDERR ;;) (;; STDOUT ;;; -third_party/testsuite/memory_trap.wast:20: $assert_return_1 failed. -third_party/testsuite/memory_trap.wast:21: $assert_trap_2 failed, didn't throw -third_party/testsuite/memory_trap.wast:22: $assert_trap_3 failed, didn't throw -third_party/testsuite/memory_trap.wast:23: $assert_trap_4 failed, didn't throw -third_party/testsuite/memory_trap.wast:24: $assert_trap_5 failed, didn't throw -third_party/testsuite/memory_trap.wast:25: $assert_trap_6 failed, didn't throw -third_party/testsuite/memory_trap.wast:26: $assert_trap_7 failed, didn't throw -third_party/testsuite/memory_trap.wast:27: $assert_trap_8 failed, didn't throw -third_party/testsuite/memory_trap.wast:28: $assert_trap_9 failed, didn't throw -third_party/testsuite/memory_trap.wast:29: $assert_trap_10 failed, didn't throw -third_party/testsuite/memory_trap.wast:30: $assert_trap_11 failed, didn't throw -third_party/testsuite/memory_trap.wast:31: $assert_trap_12 failed, didn't throw -third_party/testsuite/memory_trap.wast:32: $assert_trap_13 failed, didn't throw -1/14 tests passed. +WasmModule::Instantiate(): Compiling WASM function #3:overflow_memory_size failed:Result = Invalid opcode @+5 + + var module = WASM.instantiateModule(u8a.buffer, ffi); + ^ + ;;; STDOUT ;;) diff --git a/test/spec/resizing.txt b/test/spec/resizing.txt index a96397aa..f598c9aa 100644 --- a/test/spec/resizing.txt +++ b/test/spec/resizing.txt @@ -1,18 +1,14 @@ +;;; ERROR: 1 ;;; EXE: test/run-d8.py ;;; FLAGS: --spec ;;; STDIN_FILE: third_party/testsuite/resizing.wast +(;; STDERR ;;; + +;;; STDERR ;;) (;; STDOUT ;;; -third_party/testsuite/resizing.wast:42: $assert_trap_3 failed, didn't throw -third_party/testsuite/resizing.wast:43: $assert_trap_4 failed, didn't throw -third_party/testsuite/resizing.wast:44: $assert_trap_5 failed, didn't throw -third_party/testsuite/resizing.wast:45: $assert_trap_6 failed, didn't throw -$invoke_7 = undefined -third_party/testsuite/resizing.wast:47: $assert_return_8 failed. -third_party/testsuite/resizing.wast:48: $assert_return_9 failed. -third_party/testsuite/resizing.wast:51: $assert_trap_12 failed, didn't throw -third_party/testsuite/resizing.wast:52: $assert_trap_13 failed, didn't throw -$invoke_14 = undefined -third_party/testsuite/resizing.wast:54: $assert_return_15 failed. -third_party/testsuite/resizing.wast:59: $assert_return_20 failed. -9/19 tests passed. +WasmModule::Instantiate(): Compiling WASM function #0:power_of_two failed:Result = Invalid opcode @+1 + + var module = WASM.instantiateModule(u8a.buffer, ffi); + ^ + ;;; STDOUT ;;) |