diff options
254 files changed, 1289 insertions, 1303 deletions
diff --git a/test/findtests.py b/test/findtests.py deleted file mode 100644 index 8baa320f..00000000 --- a/test/findtests.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -# -# Copyright 2016 WebAssembly Community Group participants -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -import os -import re - -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) - - -def FindTestFiles(directory, ext, filter_pattern_re): - tests = [] - for root, dirs, files in os.walk(directory): - for f in files: - path = os.path.join(root, f) - if os.path.splitext(f)[1] == ext: - tests.append(os.path.relpath(path, SCRIPT_DIR)) - tests.sort() - return [test for test in tests if re.match(filter_pattern_re, test)] diff --git a/test/gen-spec-js.py b/test/gen-spec-js.py index e5db99c2..ede56a84 100755 --- a/test/gen-spec-js.py +++ b/test/gen-spec-js.py @@ -307,7 +307,7 @@ class ModuleExtender(object): elif type_ == 'f32': inst = F32ToWasm(int(const['value'])) elif type_ == 'f64': - inst = F64ToWasm(long(const['value'])) + inst = F64ToWasm(int(const['value'])) self.lines.append(inst) def _RunWasm2Wast(self, wasm_path): diff --git a/test/parse/assert/assertinvalid-binary-module.txt b/test/parse/assert/assertinvalid-binary-module.txt index 8209ad09..0a93a6ba 100644 --- a/test/parse/assert/assertinvalid-binary-module.txt +++ b/test/parse/assert/assertinvalid-binary-module.txt @@ -3,7 +3,7 @@ (module) (;; STDOUT ;;; assert_invalid error: - parse/assert/assertinvalid-binary-module.txt:2:18: error in binary module: @0x00000004: bad magic value + out/test/parse/assert/assertinvalid-binary-module.txt:2:18: error in binary module: @0x00000004: bad magic value (assert_invalid (module "\00ASM") "bad magic") ^^^^^^ ;;; STDOUT ;;) diff --git a/test/parse/assert/assertinvalid.txt b/test/parse/assert/assertinvalid.txt index f0a64637..aaa1d76a 100644 --- a/test/parse/assert/assertinvalid.txt +++ b/test/parse/assert/assertinvalid.txt @@ -13,15 +13,15 @@ "type mismatch") (;; STDOUT ;;; assert_invalid error: - parse/assert/assertinvalid.txt:7:25: function variable out of range (max 1) + out/test/parse/assert/assertinvalid.txt:7:25: function variable out of range (max 1) (export "foo" (func 1))) ^ assert_invalid error: - parse/assert/assertinvalid.txt:11:5: type stack size too small at function. got 0, expected at least 1 + out/test/parse/assert/assertinvalid.txt:11:5: type stack size too small at function. got 0, expected at least 1 (func (result i32) ^^^^^^ assert_invalid error: - parse/assert/assertinvalid.txt:11:5: type stack at end of function is 0. expected 1 + out/test/parse/assert/assertinvalid.txt:11:5: type stack at end of function is 0. expected 1 (func (result i32) ^^^^^^ ;;; STDOUT ;;) diff --git a/test/parse/assert/assertmalformed.txt b/test/parse/assert/assertmalformed.txt index 6e05de91..0f785e74 100644 --- a/test/parse/assert/assertmalformed.txt +++ b/test/parse/assert/assertmalformed.txt @@ -5,7 +5,7 @@ "unknown binary version") (;; STDOUT ;;; assert_malformed error: - parse/assert/assertmalformed.txt:3:4: error in binary module: @0x00000008: bad wasm file version: 0xabc (expected 0xd) + out/test/parse/assert/assertmalformed.txt:3:4: error in binary module: @0x00000008: bad wasm file version: 0xabc (expected 0xd) (module ^^^^^^ ;;; STDOUT ;;) diff --git a/test/parse/assert/bad-assert-before-module.txt b/test/parse/assert/bad-assert-before-module.txt index acd73e7a..94c82392 100644 --- a/test/parse/assert/bad-assert-before-module.txt +++ b/test/parse/assert/bad-assert-before-module.txt @@ -2,7 +2,7 @@ ;;; ERROR: 1 (assert_return (invoke "f") (i32.const 0)) (;; STDERR ;;; -parse/assert/bad-assert-before-module.txt:3:17: unknown module +out/test/parse/assert/bad-assert-before-module.txt:3:17: unknown module (assert_return (invoke "f") (i32.const 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertinvalid-succeeds.txt b/test/parse/assert/bad-assertinvalid-succeeds.txt index 3635a721..0dd10a3b 100644 --- a/test/parse/assert/bad-assertinvalid-succeeds.txt +++ b/test/parse/assert/bad-assertinvalid-succeeds.txt @@ -5,7 +5,7 @@ i32.const 0)) "success") (;; STDERR ;;; -parse/assert/bad-assertinvalid-succeeds.txt:4:4: expected module to be invalid +out/test/parse/assert/bad-assertinvalid-succeeds.txt:4:4: expected module to be invalid (module (func (result i32) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertmalformed-succeeds.txt b/test/parse/assert/bad-assertmalformed-succeeds.txt index a71861ed..a7f7f95b 100644 --- a/test/parse/assert/bad-assertmalformed-succeeds.txt +++ b/test/parse/assert/bad-assertmalformed-succeeds.txt @@ -5,7 +5,7 @@ "\00asm\0d\00\00\00") "???") (;; STDERR ;;; -parse/assert/bad-assertmalformed-succeeds.txt:4:4: expected module to be malformed +out/test/parse/assert/bad-assertmalformed-succeeds.txt:4:4: expected module to be malformed (module ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturn-non-const.txt b/test/parse/assert/bad-assertreturn-non-const.txt index da95c3ec..5188ba54 100644 --- a/test/parse/assert/bad-assertreturn-non-const.txt +++ b/test/parse/assert/bad-assertreturn-non-const.txt @@ -11,7 +11,7 @@ (f32.add (f32.const 1) (f32.const 10))) (f32.const 11)) (;; STDERR ;;; -parse/assert/bad-assertreturn-non-const.txt:11:6: syntax error, unexpected BINARY, expecting CONST +out/test/parse/assert/bad-assertreturn-non-const.txt:11:6: syntax error, unexpected BINARY, expecting CONST (f32.add (f32.const 1) (f32.const 10))) ^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturn-too-few.txt b/test/parse/assert/bad-assertreturn-too-few.txt index 4da08d54..3bc0e8b6 100644 --- a/test/parse/assert/bad-assertreturn-too-few.txt +++ b/test/parse/assert/bad-assertreturn-too-few.txt @@ -6,7 +6,7 @@ (export "foo" (func $foo))) (assert_return (invoke "foo") (i32.const 0)) (;; STDERR ;;; -parse/assert/bad-assertreturn-too-few.txt:7:17: too few parameters to function. got 0, expected 1 +out/test/parse/assert/bad-assertreturn-too-few.txt:7:17: too few parameters to function. got 0, expected 1 (assert_return (invoke "foo") (i32.const 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturn-too-many.txt b/test/parse/assert/bad-assertreturn-too-many.txt index 85c7929b..0481db3b 100644 --- a/test/parse/assert/bad-assertreturn-too-many.txt +++ b/test/parse/assert/bad-assertreturn-too-many.txt @@ -6,7 +6,7 @@ (export "foo" (func $foo))) (assert_return (invoke "foo" (i32.const 0)) (i32.const 0)) (;; STDERR ;;; -parse/assert/bad-assertreturn-too-many.txt:7:17: too many parameters to function. got 1, expected 0 +out/test/parse/assert/bad-assertreturn-too-many.txt:7:17: too many parameters to function. got 1, expected 0 (assert_return (invoke "foo" (i32.const 0)) (i32.const 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturn-unknown-function.txt b/test/parse/assert/bad-assertreturn-unknown-function.txt index 9e0c4ec8..bf83d4cc 100644 --- a/test/parse/assert/bad-assertreturn-unknown-function.txt +++ b/test/parse/assert/bad-assertreturn-unknown-function.txt @@ -3,7 +3,7 @@ (module) (assert_return (invoke "foo") (i32.const 0)) (;; STDERR ;;; -parse/assert/bad-assertreturn-unknown-function.txt:4:17: unknown function export "foo" +out/test/parse/assert/bad-assertreturn-unknown-function.txt:4:17: unknown function export "foo" (assert_return (invoke "foo") (i32.const 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturnnan-invalid-return-type.txt b/test/parse/assert/bad-assertreturnnan-invalid-return-type.txt index d1f91d27..5922fab6 100644 --- a/test/parse/assert/bad-assertreturnnan-invalid-return-type.txt +++ b/test/parse/assert/bad-assertreturnnan-invalid-return-type.txt @@ -7,7 +7,7 @@ (assert_return_nan (invoke "foo")) (;; STDERR ;;; -parse/assert/bad-assertreturnnan-invalid-return-type.txt:8:21: type mismatch at action. got i32, expected f32 or f64 +out/test/parse/assert/bad-assertreturnnan-invalid-return-type.txt:8:21: type mismatch at action. got i32, expected f32 or f64 (assert_return_nan (invoke "foo")) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturnnan-too-few.txt b/test/parse/assert/bad-assertreturnnan-too-few.txt index 871c6f96..454b3ffc 100644 --- a/test/parse/assert/bad-assertreturnnan-too-few.txt +++ b/test/parse/assert/bad-assertreturnnan-too-few.txt @@ -6,7 +6,7 @@ (export "foo" (func $foo))) (assert_return_nan (invoke "foo")) (;; STDERR ;;; -parse/assert/bad-assertreturnnan-too-few.txt:7:21: too few parameters to function. got 0, expected 1 +out/test/parse/assert/bad-assertreturnnan-too-few.txt:7:21: too few parameters to function. got 0, expected 1 (assert_return_nan (invoke "foo")) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturnnan-too-many.txt b/test/parse/assert/bad-assertreturnnan-too-many.txt index 65644f83..38d765d2 100644 --- a/test/parse/assert/bad-assertreturnnan-too-many.txt +++ b/test/parse/assert/bad-assertreturnnan-too-many.txt @@ -6,7 +6,7 @@ (export "foo" (func $foo))) (assert_return_nan (invoke "foo" (f32.const 0))) (;; STDERR ;;; -parse/assert/bad-assertreturnnan-too-many.txt:7:21: too many parameters to function. got 1, expected 0 +out/test/parse/assert/bad-assertreturnnan-too-many.txt:7:21: too many parameters to function. got 1, expected 0 (assert_return_nan (invoke "foo" (f32.const 0))) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-assertreturnnan-unknown-function.txt b/test/parse/assert/bad-assertreturnnan-unknown-function.txt index e0f31f6c..7964a65f 100644 --- a/test/parse/assert/bad-assertreturnnan-unknown-function.txt +++ b/test/parse/assert/bad-assertreturnnan-unknown-function.txt @@ -3,7 +3,7 @@ (module) (assert_return_nan (invoke "foo")) (;; STDERR ;;; -parse/assert/bad-assertreturnnan-unknown-function.txt:4:21: unknown function export "foo" +out/test/parse/assert/bad-assertreturnnan-unknown-function.txt:4:21: unknown function export "foo" (assert_return_nan (invoke "foo")) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-invoke-no-module.txt b/test/parse/assert/bad-invoke-no-module.txt index a3007eb9..b8137b6d 100644 --- a/test/parse/assert/bad-invoke-no-module.txt +++ b/test/parse/assert/bad-invoke-no-module.txt @@ -2,7 +2,7 @@ ;;; FLAGS: --spec (invoke "foo") (;; STDERR ;;; -parse/assert/bad-invoke-no-module.txt:3:2: unknown module +out/test/parse/assert/bad-invoke-no-module.txt:3:2: unknown module (invoke "foo") ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-invoke-too-few.txt b/test/parse/assert/bad-invoke-too-few.txt index fb33a19b..ccde7819 100644 --- a/test/parse/assert/bad-invoke-too-few.txt +++ b/test/parse/assert/bad-invoke-too-few.txt @@ -5,7 +5,7 @@ (export "foo" (func 0))) (invoke "foo") (;; STDERR ;;; -parse/assert/bad-invoke-too-few.txt:6:2: too few parameters to function. got 0, expected 1 +out/test/parse/assert/bad-invoke-too-few.txt:6:2: too few parameters to function. got 0, expected 1 (invoke "foo") ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-invoke-too-many.txt b/test/parse/assert/bad-invoke-too-many.txt index 179babf8..2d44a9c8 100644 --- a/test/parse/assert/bad-invoke-too-many.txt +++ b/test/parse/assert/bad-invoke-too-many.txt @@ -5,7 +5,7 @@ (export "foo" (func 0))) (invoke "foo" (i32.const 0) (i32.const 1)) (;; STDERR ;;; -parse/assert/bad-invoke-too-many.txt:6:2: too many parameters to function. got 2, expected 1 +out/test/parse/assert/bad-invoke-too-many.txt:6:2: too many parameters to function. got 2, expected 1 (invoke "foo" (i32.const 0) (i32.const 1)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/assert/bad-invoke-unknown-function.txt b/test/parse/assert/bad-invoke-unknown-function.txt index 8583a7dd..fb4875e7 100644 --- a/test/parse/assert/bad-invoke-unknown-function.txt +++ b/test/parse/assert/bad-invoke-unknown-function.txt @@ -6,7 +6,7 @@ (invoke "bar") (;; STDERR ;;; -parse/assert/bad-invoke-unknown-function.txt:7:2: unknown function export "bar" +out/test/parse/assert/bad-invoke-unknown-function.txt:7:2: unknown function export "bar" (invoke "bar") ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/bad-error-long-line.txt b/test/parse/bad-error-long-line.txt index 045a1d0f..706169b6 100644 --- a/test/parse/bad-error-long-line.txt +++ b/test/parse/bad-error-long-line.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 whoops (; some text at the end of the line ;) (;; STDERR ;;; -parse/bad-error-long-line.txt:2:170: unexpected token "whoops" +out/test/parse/bad-error-long-line.txt:2:170: unexpected token "whoops" ... whoops (; some text... ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/bad-error-long-token.txt b/test/parse/bad-error-long-token.txt index 7f0439f0..e2abf73f 100644 --- a/test/parse/bad-error-long-token.txt +++ b/test/parse/bad-error-long-token.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz (;; STDERR ;;; -parse/bad-error-long-token.txt:2:15: unexpected token "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" +out/test/parse/bad-error-long-token.txt:2:15: unexpected token "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/bad-single-semicolon.txt b/test/parse/bad-single-semicolon.txt index 541543d2..e60cc9ee 100644 --- a/test/parse/bad-single-semicolon.txt +++ b/test/parse/bad-single-semicolon.txt @@ -2,13 +2,13 @@ ; foo bar (module) (;; STDERR ;;; -parse/bad-single-semicolon.txt:2:1: unexpected char +out/test/parse/bad-single-semicolon.txt:2:1: unexpected char ; foo bar ^ -parse/bad-single-semicolon.txt:2:3: unexpected token "foo" +out/test/parse/bad-single-semicolon.txt:2:3: unexpected token "foo" ; foo bar ^^^ -parse/bad-single-semicolon.txt:2:7: unexpected token "bar" +out/test/parse/bad-single-semicolon.txt:2:7: unexpected token "bar" ; foo bar ^^^ ;;; STDERR ;;) diff --git a/test/parse/bad-string-eof.txt b/test/parse/bad-string-eof.txt index 66f00bcb..27a6410c 100644 --- a/test/parse/bad-string-eof.txt +++ b/test/parse/bad-string-eof.txt @@ -1,8 +1,8 @@ ;;; ERROR: 1 (module (func) (export " (;; STDERR ;;; -parse/bad-string-eof.txt:2:25: newline in string +out/test/parse/bad-string-eof.txt:2:25: newline in string (module (func) (export " ^ -parse/bad-string-eof.txt:3:1: syntax error, unexpected EOF, expecting TEXT +out/test/parse/bad-string-eof.txt:3:1: syntax error, unexpected EOF, expecting TEXT ;;; STDERR ;;) diff --git a/test/parse/bad-string-escape.txt b/test/parse/bad-string-escape.txt index b303578b..576fa3b5 100644 --- a/test/parse/bad-string-escape.txt +++ b/test/parse/bad-string-escape.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func) (export "foobar\r\n" (func 0))) (;; STDERR ;;; -parse/bad-string-escape.txt:2:31: bad escape "\r" +out/test/parse/bad-string-escape.txt:2:31: bad escape "\r" (module (func) (export "foobar\r\n" (func 0))) ^^ ;;; STDERR ;;) diff --git a/test/parse/bad-string-hex-escape.txt b/test/parse/bad-string-hex-escape.txt index 923ee384..54896a8e 100644 --- a/test/parse/bad-string-hex-escape.txt +++ b/test/parse/bad-string-hex-escape.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func) (export "foo\az" (func 0))) (;; STDERR ;;; -parse/bad-string-hex-escape.txt:2:28: bad escape "\a" +out/test/parse/bad-string-hex-escape.txt:2:28: bad escape "\a" (module (func) (export "foo\az" (func 0))) ^^ ;;; STDERR ;;) diff --git a/test/parse/bad-toplevel.txt b/test/parse/bad-toplevel.txt index dc959e09..b7e5685e 100644 --- a/test/parse/bad-toplevel.txt +++ b/test/parse/bad-toplevel.txt @@ -1,13 +1,13 @@ ;;; ERROR: 1 (foo bar) (;; STDERR ;;; -parse/bad-toplevel.txt:2:2: unexpected token "foo" +out/test/parse/bad-toplevel.txt:2:2: unexpected token "foo" (foo bar) ^^^ -parse/bad-toplevel.txt:2:6: unexpected token "bar" +out/test/parse/bad-toplevel.txt:2:6: unexpected token "bar" (foo bar) ^^^ -parse/bad-toplevel.txt:2:9: syntax error, unexpected ) +out/test/parse/bad-toplevel.txt:2:9: syntax error, unexpected ) (foo bar) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-binary-one-expr.txt b/test/parse/expr/bad-binary-one-expr.txt index 3422ea32..fdf815f6 100644 --- a/test/parse/expr/bad-binary-one-expr.txt +++ b/test/parse/expr/bad-binary-one-expr.txt @@ -3,10 +3,10 @@ i32.const 0 i32.add)) (;; STDERR ;;; -parse/expr/bad-binary-one-expr.txt:4:4: type stack size too small at i32.add. got 1, expected at least 2 +out/test/parse/expr/bad-binary-one-expr.txt:4:4: type stack size too small at i32.add. got 1, expected at least 2 i32.add)) ^^^^^^^ -parse/expr/bad-binary-one-expr.txt:2:9: type stack at end of function is 2. expected 0 +out/test/parse/expr/bad-binary-one-expr.txt:2:9: type stack at end of function is 2. expected 0 (module (func ^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-block-end-label.txt b/test/parse/expr/bad-block-end-label.txt index 75460cb3..9e927e0a 100644 --- a/test/parse/expr/bad-block-end-label.txt +++ b/test/parse/expr/bad-block-end-label.txt @@ -4,7 +4,7 @@ block end $foo)) (;; STDERR ;;; -parse/expr/bad-block-end-label.txt:5:9: unexpected label "$foo" +out/test/parse/expr/bad-block-end-label.txt:5:9: unexpected label "$foo" end $foo)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-block-mismatch-label.txt b/test/parse/expr/bad-block-mismatch-label.txt index 74d59e5e..c2c9fed1 100644 --- a/test/parse/expr/bad-block-mismatch-label.txt +++ b/test/parse/expr/bad-block-mismatch-label.txt @@ -4,7 +4,7 @@ block $foo end $bar)) (;; STDERR ;;; -parse/expr/bad-block-mismatch-label.txt:5:9: mismatching label "$foo" != "$bar" +out/test/parse/expr/bad-block-mismatch-label.txt:5:9: mismatching label "$foo" != "$bar" end $bar)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-bad-depth.txt b/test/parse/expr/bad-br-bad-depth.txt index 15e16c91..e6d4ab4c 100644 --- a/test/parse/expr/bad-br-bad-depth.txt +++ b/test/parse/expr/bad-br-bad-depth.txt @@ -7,7 +7,7 @@ end end)) (;; STDERR ;;; -parse/expr/bad-br-bad-depth.txt:6:12: label variable out of range (max 3) +out/test/parse/expr/bad-br-bad-depth.txt:6:12: label variable out of range (max 3) br 3 ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-defined-later.txt b/test/parse/expr/bad-br-defined-later.txt index d2e0823d..eaceaedc 100644 --- a/test/parse/expr/bad-br-defined-later.txt +++ b/test/parse/expr/bad-br-defined-later.txt @@ -6,7 +6,7 @@ nop end)) (;; STDERR ;;; -parse/expr/bad-br-defined-later.txt:4:8: label variable out of range (max 1) +out/test/parse/expr/bad-br-defined-later.txt:4:8: label variable out of range (max 1) br 1 ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-name-undefined.txt b/test/parse/expr/bad-br-name-undefined.txt index 8b414d43..96c432b8 100644 --- a/test/parse/expr/bad-br-name-undefined.txt +++ b/test/parse/expr/bad-br-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func br $n)) (;; STDERR ;;; -parse/expr/bad-br-name-undefined.txt:2:18: undefined label variable "$n" +out/test/parse/expr/bad-br-name-undefined.txt:2:18: undefined label variable "$n" (module (func br $n)) ^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-name.txt b/test/parse/expr/bad-br-name.txt index da38f58b..f7a9e62b 100644 --- a/test/parse/expr/bad-br-name.txt +++ b/test/parse/expr/bad-br-name.txt @@ -4,10 +4,10 @@ br foo end)) (;; STDERR ;;; -parse/expr/bad-br-name.txt:4:16: unexpected token "foo" +out/test/parse/expr/bad-br-name.txt:4:16: unexpected token "foo" br foo ^^^ -parse/expr/bad-br-name.txt:5:11: syntax error, unexpected END, expecting NAT or VAR +out/test/parse/expr/bad-br-name.txt:5:11: syntax error, unexpected END, expecting NAT or VAR end)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-no-depth.txt b/test/parse/expr/bad-br-no-depth.txt index 34f948d2..c70ef114 100644 --- a/test/parse/expr/bad-br-no-depth.txt +++ b/test/parse/expr/bad-br-no-depth.txt @@ -5,7 +5,7 @@ br end)) (;; STDERR ;;; -parse/expr/bad-br-no-depth.txt:6:5: syntax error, unexpected END, expecting NAT or VAR +out/test/parse/expr/bad-br-no-depth.txt:6:5: syntax error, unexpected END, expecting NAT or VAR end)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-br-undefined.txt b/test/parse/expr/bad-br-undefined.txt index 10172f0e..80acf302 100644 --- a/test/parse/expr/bad-br-undefined.txt +++ b/test/parse/expr/bad-br-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func br 1)) (;; STDERR ;;; -parse/expr/bad-br-undefined.txt:2:18: label variable out of range (max 1) +out/test/parse/expr/bad-br-undefined.txt:2:18: label variable out of range (max 1) (module (func br 1)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-brtable-bad-depth.txt b/test/parse/expr/bad-brtable-bad-depth.txt index e859b124..9360224e 100644 --- a/test/parse/expr/bad-brtable-bad-depth.txt +++ b/test/parse/expr/bad-brtable-bad-depth.txt @@ -6,7 +6,7 @@ br_table 2 end)) (;; STDERR ;;; -parse/expr/bad-brtable-bad-depth.txt:6:16: label variable out of range (max 2) +out/test/parse/expr/bad-brtable-bad-depth.txt:6:16: label variable out of range (max 2) br_table 2 ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-compare-one-expr.txt b/test/parse/expr/bad-compare-one-expr.txt index 8964247a..dc7aa5e5 100644 --- a/test/parse/expr/bad-compare-one-expr.txt +++ b/test/parse/expr/bad-compare-one-expr.txt @@ -3,10 +3,10 @@ i32.const 0 i32.lt_s)) (;; STDERR ;;; -parse/expr/bad-compare-one-expr.txt:4:11: type stack size too small at i32.lt_s. got 1, expected at least 2 +out/test/parse/expr/bad-compare-one-expr.txt:4:11: type stack size too small at i32.lt_s. got 1, expected at least 2 i32.lt_s)) ^^^^^^^^ -parse/expr/bad-compare-one-expr.txt:2:9: type stack at end of function is 2. expected 0 +out/test/parse/expr/bad-compare-one-expr.txt:2:9: type stack at end of function is 2. expected 0 (module (func ^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-f32-trailing.txt b/test/parse/expr/bad-const-f32-trailing.txt index d048a4b9..abd51a9c 100644 --- a/test/parse/expr/bad-const-f32-trailing.txt +++ b/test/parse/expr/bad-const-f32-trailing.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (func f32.const 1234.5678foo)) (;; STDERR ;;; -parse/expr/bad-const-f32-trailing.txt:2:25: unexpected token "1234.5678foo" +out/test/parse/expr/bad-const-f32-trailing.txt:2:25: unexpected token "1234.5678foo" (module (func f32.const 1234.5678foo)) ^^^^^^^^^^^^ -parse/expr/bad-const-f32-trailing.txt:2:37: syntax error, unexpected ), expecting NAT or INT or FLOAT +out/test/parse/expr/bad-const-f32-trailing.txt:2:37: syntax error, unexpected ), expecting NAT or INT or FLOAT (module (func f32.const 1234.5678foo)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i32-garbage.txt b/test/parse/expr/bad-const-i32-garbage.txt index 8fb0b7ad..9081dddd 100644 --- a/test/parse/expr/bad-const-i32-garbage.txt +++ b/test/parse/expr/bad-const-i32-garbage.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (func i32.const one-hundred)) (;; STDERR ;;; -parse/expr/bad-const-i32-garbage.txt:2:25: unexpected token "one-hundred" +out/test/parse/expr/bad-const-i32-garbage.txt:2:25: unexpected token "one-hundred" (module (func i32.const one-hundred)) ^^^^^^^^^^^ -parse/expr/bad-const-i32-garbage.txt:2:36: syntax error, unexpected ), expecting NAT or INT or FLOAT +out/test/parse/expr/bad-const-i32-garbage.txt:2:36: syntax error, unexpected ), expecting NAT or INT or FLOAT (module (func i32.const one-hundred)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i32-just-negative-sign.txt b/test/parse/expr/bad-const-i32-just-negative-sign.txt index e2574616..3a3667cc 100644 --- a/test/parse/expr/bad-const-i32-just-negative-sign.txt +++ b/test/parse/expr/bad-const-i32-just-negative-sign.txt @@ -2,10 +2,10 @@ (module (func i32.const -)) (;; STDERR ;;; -parse/expr/bad-const-i32-just-negative-sign.txt:3:19: unexpected token "-" +out/test/parse/expr/bad-const-i32-just-negative-sign.txt:3:19: unexpected token "-" (func i32.const -)) ^ -parse/expr/bad-const-i32-just-negative-sign.txt:3:20: syntax error, unexpected ), expecting NAT or INT or FLOAT +out/test/parse/expr/bad-const-i32-just-negative-sign.txt:3:20: syntax error, unexpected ), expecting NAT or INT or FLOAT (func i32.const -)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i32-overflow.txt b/test/parse/expr/bad-const-i32-overflow.txt index 21bc996b..7ab37814 100644 --- a/test/parse/expr/bad-const-i32-overflow.txt +++ b/test/parse/expr/bad-const-i32-overflow.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func i32.const 4294967296)) (;; STDERR ;;; -parse/expr/bad-const-i32-overflow.txt:2:25: invalid literal "4294967296" +out/test/parse/expr/bad-const-i32-overflow.txt:2:25: invalid literal "4294967296" (module (func i32.const 4294967296)) ^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i32-trailing.txt b/test/parse/expr/bad-const-i32-trailing.txt index ae405ba6..a0a25c16 100644 --- a/test/parse/expr/bad-const-i32-trailing.txt +++ b/test/parse/expr/bad-const-i32-trailing.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (func i32.const 100x)) (;; STDERR ;;; -parse/expr/bad-const-i32-trailing.txt:2:25: unexpected token "100x" +out/test/parse/expr/bad-const-i32-trailing.txt:2:25: unexpected token "100x" (module (func i32.const 100x)) ^^^^ -parse/expr/bad-const-i32-trailing.txt:2:29: syntax error, unexpected ), expecting NAT or INT or FLOAT +out/test/parse/expr/bad-const-i32-trailing.txt:2:29: syntax error, unexpected ), expecting NAT or INT or FLOAT (module (func i32.const 100x)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i32-underflow.txt b/test/parse/expr/bad-const-i32-underflow.txt index 43157b4f..e9927ece 100644 --- a/test/parse/expr/bad-const-i32-underflow.txt +++ b/test/parse/expr/bad-const-i32-underflow.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func i32.const -2147483649)) (;; STDERR ;;; -parse/expr/bad-const-i32-underflow.txt:2:25: invalid literal "-2147483649" +out/test/parse/expr/bad-const-i32-underflow.txt:2:25: invalid literal "-2147483649" (module (func i32.const -2147483649)) ^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-const-i64-overflow.txt b/test/parse/expr/bad-const-i64-overflow.txt index 89551994..cda4c486 100644 --- a/test/parse/expr/bad-const-i64-overflow.txt +++ b/test/parse/expr/bad-const-i64-overflow.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func i64.const 18446744073709551616)) (;; STDERR ;;; -parse/expr/bad-const-i64-overflow.txt:2:25: invalid literal "18446744073709551616" +out/test/parse/expr/bad-const-i64-overflow.txt:2:25: invalid literal "18446744073709551616" (module (func i64.const 18446744073709551616)) ^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-convert-float-sign.txt b/test/parse/expr/bad-convert-float-sign.txt index a02578a2..59989278 100644 --- a/test/parse/expr/bad-convert-float-sign.txt +++ b/test/parse/expr/bad-convert-float-sign.txt @@ -3,7 +3,7 @@ f32.const 0 f32.converts.f64)) (;; STDERR ;;; -parse/expr/bad-convert-float-sign.txt:4:11: unexpected token "f32.converts.f64" +out/test/parse/expr/bad-convert-float-sign.txt:4:11: unexpected token "f32.converts.f64" f32.converts.f64)) ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-convert-int-no-sign.txt b/test/parse/expr/bad-convert-int-no-sign.txt index 0a82463a..98238294 100644 --- a/test/parse/expr/bad-convert-int-no-sign.txt +++ b/test/parse/expr/bad-convert-int-no-sign.txt @@ -3,10 +3,10 @@ i32.const i32.convert.i32)) (;; STDERR ;;; -parse/expr/bad-convert-int-no-sign.txt:4:11: unexpected token "i32.convert.i32" +out/test/parse/expr/bad-convert-int-no-sign.txt:4:11: unexpected token "i32.convert.i32" i32.convert.i32)) ^^^^^^^^^^^^^^^ -parse/expr/bad-convert-int-no-sign.txt:4:26: syntax error, unexpected ), expecting NAT or INT or FLOAT +out/test/parse/expr/bad-convert-int-no-sign.txt:4:26: syntax error, unexpected ), expecting NAT or INT or FLOAT i32.convert.i32)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-getglobal-name-undefined.txt b/test/parse/expr/bad-getglobal-name-undefined.txt index 5ead3821..93235d15 100644 --- a/test/parse/expr/bad-getglobal-name-undefined.txt +++ b/test/parse/expr/bad-getglobal-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func get_global 0)) (;; STDERR ;;; -parse/expr/bad-getglobal-name-undefined.txt:2:26: global variable out of range (max 0) +out/test/parse/expr/bad-getglobal-name-undefined.txt:2:26: global variable out of range (max 0) (module (func get_global 0)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-getglobal-undefined.txt b/test/parse/expr/bad-getglobal-undefined.txt index c2ba9d6f..7f108b19 100644 --- a/test/parse/expr/bad-getglobal-undefined.txt +++ b/test/parse/expr/bad-getglobal-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func get_global 0)) (;; STDERR ;;; -parse/expr/bad-getglobal-undefined.txt:2:26: global variable out of range (max 0) +out/test/parse/expr/bad-getglobal-undefined.txt:2:26: global variable out of range (max 0) (module (func get_global 0)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-getlocal-name-undefined.txt b/test/parse/expr/bad-getlocal-name-undefined.txt index 51181743..10cef6f1 100644 --- a/test/parse/expr/bad-getlocal-name-undefined.txt +++ b/test/parse/expr/bad-getlocal-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func get_local $n)) (;; STDERR ;;; -parse/expr/bad-getlocal-name-undefined.txt:2:25: undefined local variable "$n" +out/test/parse/expr/bad-getlocal-name-undefined.txt:2:25: undefined local variable "$n" (module (func get_local $n)) ^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-getlocal-name.txt b/test/parse/expr/bad-getlocal-name.txt index ca79fc59..4505f2a2 100644 --- a/test/parse/expr/bad-getlocal-name.txt +++ b/test/parse/expr/bad-getlocal-name.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (func (local $f f32) get_local f)) (;; STDERR ;;; -parse/expr/bad-getlocal-name.txt:2:40: unexpected token "f" +out/test/parse/expr/bad-getlocal-name.txt:2:40: unexpected token "f" (module (func (local $f f32) get_local f)) ^ -parse/expr/bad-getlocal-name.txt:2:41: syntax error, unexpected ), expecting NAT or VAR +out/test/parse/expr/bad-getlocal-name.txt:2:41: syntax error, unexpected ), expecting NAT or VAR (module (func (local $f f32) get_local f)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-getlocal-undefined.txt b/test/parse/expr/bad-getlocal-undefined.txt index 9bf955e9..f647c2c7 100644 --- a/test/parse/expr/bad-getlocal-undefined.txt +++ b/test/parse/expr/bad-getlocal-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (get_local 0))) (;; STDERR ;;; -parse/expr/bad-getlocal-undefined.txt:2:26: local variable out of range (max 0) +out/test/parse/expr/bad-getlocal-undefined.txt:2:26: local variable out of range (max 0) (module (func (get_local 0))) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-if-end-label.txt b/test/parse/expr/bad-if-end-label.txt index e5fa8fd6..bc0d565a 100644 --- a/test/parse/expr/bad-if-end-label.txt +++ b/test/parse/expr/bad-if-end-label.txt @@ -6,10 +6,10 @@ else $foo end $bar)) (;; STDERR ;;; -parse/expr/bad-if-end-label.txt:6:10: unexpected label "$foo" +out/test/parse/expr/bad-if-end-label.txt:6:10: unexpected label "$foo" else $foo ^^^^ -parse/expr/bad-if-end-label.txt:7:9: unexpected label "$bar" +out/test/parse/expr/bad-if-end-label.txt:7:9: unexpected label "$bar" end $bar)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-if-mismatch-label.txt b/test/parse/expr/bad-if-mismatch-label.txt index abf6817e..d9cec272 100644 --- a/test/parse/expr/bad-if-mismatch-label.txt +++ b/test/parse/expr/bad-if-mismatch-label.txt @@ -6,10 +6,10 @@ else $bar end $baz)) (;; STDERR ;;; -parse/expr/bad-if-mismatch-label.txt:6:10: mismatching label "$foo" != "$bar" +out/test/parse/expr/bad-if-mismatch-label.txt:6:10: mismatching label "$foo" != "$bar" else $bar ^^^^ -parse/expr/bad-if-mismatch-label.txt:7:9: mismatching label "$foo" != "$baz" +out/test/parse/expr/bad-if-mismatch-label.txt:7:9: mismatching label "$foo" != "$baz" end $baz)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-if-no-then.txt b/test/parse/expr/bad-if-no-then.txt index 45a22892..23f28352 100644 --- a/test/parse/expr/bad-if-no-then.txt +++ b/test/parse/expr/bad-if-no-then.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (if (i32.const 0)))) (;; STDERR ;;; -parse/expr/bad-if-no-then.txt:2:32: syntax error, unexpected ), expecting ( +out/test/parse/expr/bad-if-no-then.txt:2:32: syntax error, unexpected ), expecting ( (module (func (if (i32.const 0)))) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-align-misspelled.txt b/test/parse/expr/bad-load-align-misspelled.txt index 57e7332f..c23247af 100644 --- a/test/parse/expr/bad-load-align-misspelled.txt +++ b/test/parse/expr/bad-load-align-misspelled.txt @@ -4,7 +4,7 @@ i32.const 0 i32.load aline=64)) (;; STDERR ;;; -parse/expr/bad-load-align-misspelled.txt:5:14: unexpected token "aline=64" +out/test/parse/expr/bad-load-align-misspelled.txt:5:14: unexpected token "aline=64" i32.load aline=64)) ^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-align-negative.txt b/test/parse/expr/bad-load-align-negative.txt index c02df3cf..8daef20b 100644 --- a/test/parse/expr/bad-load-align-negative.txt +++ b/test/parse/expr/bad-load-align-negative.txt @@ -3,7 +3,7 @@ i32.const 0 i32.load8_s align=-1)) (;; STDERR ;;; -parse/expr/bad-load-align-negative.txt:4:23: unexpected token "align=-1" +out/test/parse/expr/bad-load-align-negative.txt:4:23: unexpected token "align=-1" i32.load8_s align=-1)) ^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-align-not-pot.txt b/test/parse/expr/bad-load-align-not-pot.txt index 240005ff..b90bba67 100644 --- a/test/parse/expr/bad-load-align-not-pot.txt +++ b/test/parse/expr/bad-load-align-not-pot.txt @@ -6,7 +6,7 @@ i32.load align=3 drop)) (;; STDERR ;;; -parse/expr/bad-load-align-not-pot.txt:6:5: alignment must be power-of-two +out/test/parse/expr/bad-load-align-not-pot.txt:6:5: alignment must be power-of-two i32.load align=3 ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-align.txt b/test/parse/expr/bad-load-align.txt index 1108bca9..a7806bb7 100644 --- a/test/parse/expr/bad-load-align.txt +++ b/test/parse/expr/bad-load-align.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (i32.load align=foo (i32.const 0)))) (;; STDERR ;;; -parse/expr/bad-load-align.txt:2:25: unexpected token "align=foo" +out/test/parse/expr/bad-load-align.txt:2:25: unexpected token "align=foo" (module (func (i32.load align=foo (i32.const 0)))) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-float-sign.txt b/test/parse/expr/bad-load-float-sign.txt index e81f83a2..260daf59 100644 --- a/test/parse/expr/bad-load-float-sign.txt +++ b/test/parse/expr/bad-load-float-sign.txt @@ -3,7 +3,7 @@ i32.const 0 f32.loads)) (;; STDERR ;;; -parse/expr/bad-load-float-sign.txt:4:11: unexpected token "f32.loads" +out/test/parse/expr/bad-load-float-sign.txt:4:11: unexpected token "f32.loads" f32.loads)) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-offset-negative.txt b/test/parse/expr/bad-load-offset-negative.txt index 5840c93c..9cf95709 100644 --- a/test/parse/expr/bad-load-offset-negative.txt +++ b/test/parse/expr/bad-load-offset-negative.txt @@ -3,7 +3,7 @@ i32.const 0 i32.load8_s offset=-1)) (;; STDERR ;;; -parse/expr/bad-load-offset-negative.txt:4:23: unexpected token "offset=-1" +out/test/parse/expr/bad-load-offset-negative.txt:4:23: unexpected token "offset=-1" i32.load8_s offset=-1)) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-load-type.txt b/test/parse/expr/bad-load-type.txt index 644546cf..25d8d0fc 100644 --- a/test/parse/expr/bad-load-type.txt +++ b/test/parse/expr/bad-load-type.txt @@ -3,7 +3,7 @@ i32.const 0 load.x32)) (;; STDERR ;;; -parse/expr/bad-load-type.txt:4:11: unexpected token "load.x32" +out/test/parse/expr/bad-load-type.txt:4:11: unexpected token "load.x32" load.x32)) ^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-loop-end-label.txt b/test/parse/expr/bad-loop-end-label.txt index 6d77694e..5e33f3a9 100644 --- a/test/parse/expr/bad-loop-end-label.txt +++ b/test/parse/expr/bad-loop-end-label.txt @@ -4,7 +4,7 @@ loop end $foo)) (;; STDERR ;;; -parse/expr/bad-loop-end-label.txt:5:9: unexpected label "$foo" +out/test/parse/expr/bad-loop-end-label.txt:5:9: unexpected label "$foo" end $foo)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-loop-mismatch-label.txt b/test/parse/expr/bad-loop-mismatch-label.txt index cd4e7543..7dab3d63 100644 --- a/test/parse/expr/bad-loop-mismatch-label.txt +++ b/test/parse/expr/bad-loop-mismatch-label.txt @@ -4,7 +4,7 @@ loop $foo end $bar)) (;; STDERR ;;; -parse/expr/bad-loop-mismatch-label.txt:5:9: mismatching label "$foo" != "$bar" +out/test/parse/expr/bad-loop-mismatch-label.txt:5:9: mismatching label "$foo" != "$bar" end $bar)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-nop.txt b/test/parse/expr/bad-nop.txt index d1cbbc97..d70fa39b 100644 --- a/test/parse/expr/bad-nop.txt +++ b/test/parse/expr/bad-nop.txt @@ -3,7 +3,7 @@ nop foo)) (;; STDERR ;;; -parse/expr/bad-nop.txt:4:11: unexpected token "foo" +out/test/parse/expr/bad-nop.txt:4:11: unexpected token "foo" foo)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-return-multi.txt b/test/parse/expr/bad-return-multi.txt index f6d525a3..796c2edc 100644 --- a/test/parse/expr/bad-return-multi.txt +++ b/test/parse/expr/bad-return-multi.txt @@ -4,7 +4,7 @@ f32.const 3.14 return)) (;; STDERR ;;; -parse/expr/bad-return-multi.txt:2:9: multiple result values not currently supported. +out/test/parse/expr/bad-return-multi.txt:2:9: multiple result values not currently supported. (module (func (result f32 f32) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setglobal-name-undefined.txt b/test/parse/expr/bad-setglobal-name-undefined.txt index 3721e5a2..25caf9d5 100644 --- a/test/parse/expr/bad-setglobal-name-undefined.txt +++ b/test/parse/expr/bad-setglobal-name-undefined.txt @@ -3,7 +3,7 @@ i32.const 1 set_global $f)) (;; STDERR ;;; -parse/expr/bad-setglobal-name-undefined.txt:4:22: undefined global variable "$f" +out/test/parse/expr/bad-setglobal-name-undefined.txt:4:22: undefined global variable "$f" set_global $f)) ^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setglobal-undefined.txt b/test/parse/expr/bad-setglobal-undefined.txt index f923b6f7..3a24cf3b 100644 --- a/test/parse/expr/bad-setglobal-undefined.txt +++ b/test/parse/expr/bad-setglobal-undefined.txt @@ -3,7 +3,7 @@ i32.const 1 set_global 0)) (;; STDERR ;;; -parse/expr/bad-setglobal-undefined.txt:4:22: global variable out of range (max 0) +out/test/parse/expr/bad-setglobal-undefined.txt:4:22: global variable out of range (max 0) set_global 0)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setlocal-name-undefined.txt b/test/parse/expr/bad-setlocal-name-undefined.txt index a5b523ae..06d55b93 100644 --- a/test/parse/expr/bad-setlocal-name-undefined.txt +++ b/test/parse/expr/bad-setlocal-name-undefined.txt @@ -3,7 +3,7 @@ i32.const 0 set_local $n)) (;; STDERR ;;; -parse/expr/bad-setlocal-name-undefined.txt:4:21: undefined local variable "$n" +out/test/parse/expr/bad-setlocal-name-undefined.txt:4:21: undefined local variable "$n" set_local $n)) ^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setlocal-name.txt b/test/parse/expr/bad-setlocal-name.txt index b93e450e..d7bf2875 100644 --- a/test/parse/expr/bad-setlocal-name.txt +++ b/test/parse/expr/bad-setlocal-name.txt @@ -4,10 +4,10 @@ i32.const 0 set_local n)) (;; STDERR ;;; -parse/expr/bad-setlocal-name.txt:5:13: unexpected token "n" +out/test/parse/expr/bad-setlocal-name.txt:5:13: unexpected token "n" set_local n)) ^ -parse/expr/bad-setlocal-name.txt:5:14: syntax error, unexpected ), expecting NAT or VAR +out/test/parse/expr/bad-setlocal-name.txt:5:14: syntax error, unexpected ), expecting NAT or VAR set_local n)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setlocal-no-value.txt b/test/parse/expr/bad-setlocal-no-value.txt index 5c27b229..a8e87d66 100644 --- a/test/parse/expr/bad-setlocal-no-value.txt +++ b/test/parse/expr/bad-setlocal-no-value.txt @@ -3,7 +3,7 @@ (local i32) set_local 0)) (;; STDERR ;;; -parse/expr/bad-setlocal-no-value.txt:4:3: type stack size too small at set_local. got 0, expected at least 1 +out/test/parse/expr/bad-setlocal-no-value.txt:4:3: type stack size too small at set_local. got 0, expected at least 1 set_local 0)) ^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-setlocal-undefined.txt b/test/parse/expr/bad-setlocal-undefined.txt index f050d683..0260cd30 100644 --- a/test/parse/expr/bad-setlocal-undefined.txt +++ b/test/parse/expr/bad-setlocal-undefined.txt @@ -3,7 +3,7 @@ i32.const 0 set_local 0)) (;; STDERR ;;; -parse/expr/bad-setlocal-undefined.txt:4:21: local variable out of range (max 0) +out/test/parse/expr/bad-setlocal-undefined.txt:4:21: local variable out of range (max 0) set_local 0)) ^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-store-align-not-pot.txt b/test/parse/expr/bad-store-align-not-pot.txt index 060ce296..1af7662a 100644 --- a/test/parse/expr/bad-store-align-not-pot.txt +++ b/test/parse/expr/bad-store-align-not-pot.txt @@ -6,7 +6,7 @@ f32.const 0.0 f32.store align=3)) (;; STDERR ;;; -parse/expr/bad-store-align-not-pot.txt:7:5: alignment must be power-of-two +out/test/parse/expr/bad-store-align-not-pot.txt:7:5: alignment must be power-of-two f32.store align=3)) ^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-store-align.txt b/test/parse/expr/bad-store-align.txt index 06eff9aa..e08fe4a8 100644 --- a/test/parse/expr/bad-store-align.txt +++ b/test/parse/expr/bad-store-align.txt @@ -4,7 +4,7 @@ i32.const 0 i32.store align=foo)) (;; STDERR ;;; -parse/expr/bad-store-align.txt:5:21: unexpected token "align=foo" +out/test/parse/expr/bad-store-align.txt:5:21: unexpected token "align=foo" i32.store align=foo)) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-store-float.sign.txt b/test/parse/expr/bad-store-float.sign.txt index d041cd5d..5aa00d96 100644 --- a/test/parse/expr/bad-store-float.sign.txt +++ b/test/parse/expr/bad-store-float.sign.txt @@ -4,7 +4,7 @@ f32.const 0 f32.storeu)) (;; STDERR ;;; -parse/expr/bad-store-float.sign.txt:5:11: unexpected token "f32.storeu" +out/test/parse/expr/bad-store-float.sign.txt:5:11: unexpected token "f32.storeu" f32.storeu)) ^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-store-offset-negative.txt b/test/parse/expr/bad-store-offset-negative.txt index 15a33321..0bca36c4 100644 --- a/test/parse/expr/bad-store-offset-negative.txt +++ b/test/parse/expr/bad-store-offset-negative.txt @@ -4,7 +4,7 @@ i32.const 0 i32.store8 offset=-1)) (;; STDERR ;;; -parse/expr/bad-store-offset-negative.txt:5:22: unexpected token "offset=-1" +out/test/parse/expr/bad-store-offset-negative.txt:5:22: unexpected token "offset=-1" i32.store8 offset=-1)) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-store-type.txt b/test/parse/expr/bad-store-type.txt index d095c607..f5128db4 100644 --- a/test/parse/expr/bad-store-type.txt +++ b/test/parse/expr/bad-store-type.txt @@ -4,7 +4,7 @@ f32.const 0 store.float32)) (;; STDERR ;;; -parse/expr/bad-store-type.txt:5:11: unexpected token "store.float32" +out/test/parse/expr/bad-store-type.txt:5:11: unexpected token "store.float32" store.float32)) ^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/bad-unexpected.txt b/test/parse/expr/bad-unexpected.txt index 2a740079..c7d3f238 100644 --- a/test/parse/expr/bad-unexpected.txt +++ b/test/parse/expr/bad-unexpected.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (module))) (;; STDERR ;;; -parse/expr/bad-unexpected.txt:2:16: syntax error, unexpected MODULE +out/test/parse/expr/bad-unexpected.txt:2:16: syntax error, unexpected MODULE (module (func (module))) ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/expr/callimport-defined-later.txt b/test/parse/expr/callimport-defined-later.txt index 7472a1b2..30956c0d 100644 --- a/test/parse/expr/callimport-defined-later.txt +++ b/test/parse/expr/callimport-defined-later.txt @@ -5,7 +5,7 @@ call $baz) (import "foo" "bar" (func $baz (param f32)))) (;; STDERR ;;; -parse/expr/callimport-defined-later.txt:6:3: imports must occur before all non-import definitions +out/test/parse/expr/callimport-defined-later.txt:6:3: imports must occur before all non-import definitions (import "foo" "bar" (func $baz (param f32)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-func-name.txt b/test/parse/func/bad-func-name.txt index 2a124aeb..3e968f75 100644 --- a/test/parse/func/bad-func-name.txt +++ b/test/parse/func/bad-func-name.txt @@ -2,7 +2,7 @@ (module (func foo)) (;; STDERR ;;; -parse/func/bad-func-name.txt:3:9: unexpected token "foo" +out/test/parse/func/bad-func-name.txt:3:9: unexpected token "foo" (func foo)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-binding-no-type.txt b/test/parse/func/bad-local-binding-no-type.txt index 94ad1d84..8762e7fd 100644 --- a/test/parse/func/bad-local-binding-no-type.txt +++ b/test/parse/func/bad-local-binding-no-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local $n))) (;; STDERR ;;; -parse/func/bad-local-binding-no-type.txt:2:24: syntax error, unexpected ), expecting VALUE_TYPE +out/test/parse/func/bad-local-binding-no-type.txt:2:24: syntax error, unexpected ), expecting VALUE_TYPE (module (func (local $n))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-binding.txt b/test/parse/func/bad-local-binding.txt index 657e4e91..93ed5491 100644 --- a/test/parse/func/bad-local-binding.txt +++ b/test/parse/func/bad-local-binding.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local $foo $bar))) (;; STDERR ;;; -parse/func/bad-local-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE +out/test/parse/func/bad-local-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE (module (func (local $foo $bar))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-name.txt b/test/parse/func/bad-local-name.txt index 0c50263d..5a80838a 100644 --- a/test/parse/func/bad-local-name.txt +++ b/test/parse/func/bad-local-name.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local 0 i32))) (;; STDERR ;;; -parse/func/bad-local-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE +out/test/parse/func/bad-local-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE (module (func (local 0 i32))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-type-list.txt b/test/parse/func/bad-local-type-list.txt index 4b9dee45..78b2906f 100644 --- a/test/parse/func/bad-local-type-list.txt +++ b/test/parse/func/bad-local-type-list.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local i32 i64 foo f32))) (;; STDERR ;;; -parse/func/bad-local-type-list.txt:2:30: unexpected token "foo" +out/test/parse/func/bad-local-type-list.txt:2:30: unexpected token "foo" (module (func (local i32 i64 foo f32))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-type.txt b/test/parse/func/bad-local-type.txt index a9889003..c453731a 100644 --- a/test/parse/func/bad-local-type.txt +++ b/test/parse/func/bad-local-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local foo))) (;; STDERR ;;; -parse/func/bad-local-type.txt:2:22: unexpected token "foo" +out/test/parse/func/bad-local-type.txt:2:22: unexpected token "foo" (module (func (local foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-binding.txt b/test/parse/func/bad-param-binding.txt index 25366acc..30987aa2 100644 --- a/test/parse/func/bad-param-binding.txt +++ b/test/parse/func/bad-param-binding.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param $bar $baz))) (;; STDERR ;;; -parse/func/bad-param-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE +out/test/parse/func/bad-param-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE (module (func (param $bar $baz))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-name.txt b/test/parse/func/bad-param-name.txt index cd69a52a..23ad377a 100644 --- a/test/parse/func/bad-param-name.txt +++ b/test/parse/func/bad-param-name.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param 0 i32))) (;; STDERR ;;; -parse/func/bad-param-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE +out/test/parse/func/bad-param-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE (module (func (param 0 i32))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-redefinition.txt b/test/parse/func/bad-param-redefinition.txt index fac6de11..2816a23d 100644 --- a/test/parse/func/bad-param-redefinition.txt +++ b/test/parse/func/bad-param-redefinition.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param $n i32) (param $n f32))) (;; STDERR ;;; -parse/func/bad-param-redefinition.txt:2:31: redefinition of parameter "$n" +out/test/parse/func/bad-param-redefinition.txt:2:31: redefinition of parameter "$n" (module (func (param $n i32) (param $n f32))) ^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-type-list.txt b/test/parse/func/bad-param-type-list.txt index bd829ba6..a76f2122 100644 --- a/test/parse/func/bad-param-type-list.txt +++ b/test/parse/func/bad-param-type-list.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param i32 i64 foo f32))) (;; STDERR ;;; -parse/func/bad-param-type-list.txt:2:30: unexpected token "foo" +out/test/parse/func/bad-param-type-list.txt:2:30: unexpected token "foo" (module (func (param i32 i64 foo f32))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param.txt b/test/parse/func/bad-param.txt index 0f5f58e2..7f871d49 100644 --- a/test/parse/func/bad-param.txt +++ b/test/parse/func/bad-param.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param foo))) (;; STDERR ;;; -parse/func/bad-param.txt:2:22: unexpected token "foo" +out/test/parse/func/bad-param.txt:2:22: unexpected token "foo" (module (func (param foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-result-multi.txt b/test/parse/func/bad-result-multi.txt index 1e69c74a..bd8db698 100644 --- a/test/parse/func/bad-result-multi.txt +++ b/test/parse/func/bad-result-multi.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (result i32 i64))) (;; STDERR ;;; -parse/func/bad-result-multi.txt:2:9: multiple result values not currently supported. +out/test/parse/func/bad-result-multi.txt:2:9: multiple result values not currently supported. (module (func (result i32 i64))) ^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-result-type.txt b/test/parse/func/bad-result-type.txt index 4a8f9034..957153f2 100644 --- a/test/parse/func/bad-result-type.txt +++ b/test/parse/func/bad-result-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (result foo))) (;; STDERR ;;; -parse/func/bad-result-type.txt:2:23: unexpected token "foo" +out/test/parse/func/bad-result-type.txt:2:23: unexpected token "foo" (module (func (result foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-param-type-mismatch.txt b/test/parse/func/bad-sig-param-type-mismatch.txt index df940ed9..09b9840a 100644 --- a/test/parse/func/bad-sig-param-type-mismatch.txt +++ b/test/parse/func/bad-sig-param-type-mismatch.txt @@ -3,7 +3,7 @@ (type $t (func (param i32 f32))) (func (type $t) (param f32 f32))) (;; STDERR ;;; -parse/func/bad-sig-param-type-mismatch.txt:4:3: type mismatch for argument 0 of function. got f32, expected i32 +out/test/parse/func/bad-sig-param-type-mismatch.txt:4:3: type mismatch for argument 0 of function. got f32, expected i32 (func (type $t) (param f32 f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-params-empty.txt b/test/parse/func/bad-sig-params-empty.txt index 15aae9b8..ab44bbe8 100644 --- a/test/parse/func/bad-sig-params-empty.txt +++ b/test/parse/func/bad-sig-params-empty.txt @@ -3,7 +3,7 @@ (type $t (func)) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-params-empty.txt:4:3: expected 0 arguments, got 1 +out/test/parse/func/bad-sig-params-empty.txt:4:3: expected 0 arguments, got 1 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-mismatch.txt b/test/parse/func/bad-sig-result-type-mismatch.txt index a679017f..d4c6dbdb 100644 --- a/test/parse/func/bad-sig-result-type-mismatch.txt +++ b/test/parse/func/bad-sig-result-type-mismatch.txt @@ -3,13 +3,13 @@ (type $t (func (param i32) (result f32))) (func (type $t) (param i32) (result i64))) (;; STDERR ;;; -parse/func/bad-sig-result-type-mismatch.txt:4:3: type mismatch for result 0 of function. got i64, expected f32 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type mismatch for result 0 of function. got i64, expected f32 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack size too small at function. got 0, expected at least 1 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack size too small at function. got 0, expected at least 1 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack at end of function is 0. expected 1 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack at end of function is 0. expected 1 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-not-void.txt b/test/parse/func/bad-sig-result-type-not-void.txt index 70943ab9..bc59176f 100644 --- a/test/parse/func/bad-sig-result-type-not-void.txt +++ b/test/parse/func/bad-sig-result-type-not-void.txt @@ -3,13 +3,13 @@ (type $t (func (param i32))) (func (type $t) (param i32) (result f32))) (;; STDERR ;;; -parse/func/bad-sig-result-type-not-void.txt:4:3: expected 0 results, got 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: expected 0 results, got 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-not-void.txt:4:3: type stack size too small at function. got 0, expected at least 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: type stack size too small at function. got 0, expected at least 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-not-void.txt:4:3: type stack at end of function is 0. expected 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: type stack at end of function is 0. expected 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-void.txt b/test/parse/func/bad-sig-result-type-void.txt index 8d46eea7..1ac5e67d 100644 --- a/test/parse/func/bad-sig-result-type-void.txt +++ b/test/parse/func/bad-sig-result-type-void.txt @@ -3,7 +3,7 @@ (type $t (func (param i32) (result f32))) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-result-type-void.txt:4:3: expected 1 results, got 0 +out/test/parse/func/bad-sig-result-type-void.txt:4:3: expected 1 results, got 0 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-too-few-params.txt b/test/parse/func/bad-sig-too-few-params.txt index 13997e55..1569a886 100644 --- a/test/parse/func/bad-sig-too-few-params.txt +++ b/test/parse/func/bad-sig-too-few-params.txt @@ -3,7 +3,7 @@ (type $t (func (param i32 f32))) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-too-few-params.txt:4:3: expected 2 arguments, got 1 +out/test/parse/func/bad-sig-too-few-params.txt:4:3: expected 2 arguments, got 1 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-too-many-params.txt b/test/parse/func/bad-sig-too-many-params.txt index 84d40b86..04b6b39f 100644 --- a/test/parse/func/bad-sig-too-many-params.txt +++ b/test/parse/func/bad-sig-too-many-params.txt @@ -3,7 +3,7 @@ (type $t (func (param i32))) (func (type $t) (param i32 i32))) (;; STDERR ;;; -parse/func/bad-sig-too-many-params.txt:4:3: expected 1 arguments, got 2 +out/test/parse/func/bad-sig-too-many-params.txt:4:3: expected 1 arguments, got 2 (func (type $t) (param i32 i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-binary-module-magic.txt b/test/parse/module/bad-binary-module-magic.txt index f936b3c3..460626c9 100644 --- a/test/parse/module/bad-binary-module-magic.txt +++ b/test/parse/module/bad-binary-module-magic.txt @@ -3,7 +3,7 @@ "\00ASM" "\0b\00\00\00") (;; STDERR ;;; -parse/module/bad-binary-module-magic.txt:2:2: error in binary module: @0x00000004: bad magic value +out/test/parse/module/bad-binary-module-magic.txt:2:2: error in binary module: @0x00000004: bad magic value (module ^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-empty.txt b/test/parse/module/bad-export-func-empty.txt index 8cadf9f1..de531b22 100644 --- a/test/parse/module/bad-export-func-empty.txt +++ b/test/parse/module/bad-export-func-empty.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export)) (;; STDERR ;;; -parse/module/bad-export-func-empty.txt:2:16: syntax error, unexpected ), expecting TEXT +out/test/parse/module/bad-export-func-empty.txt:2:16: syntax error, unexpected ), expecting TEXT (module (export)) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-name-undefined.txt b/test/parse/module/bad-export-func-name-undefined.txt index 9456a920..36658f0a 100644 --- a/test/parse/module/bad-export-func-name-undefined.txt +++ b/test/parse/module/bad-export-func-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (func $foo))) (;; STDERR ;;; -parse/module/bad-export-func-name-undefined.txt:2:29: undefined function variable "$foo" +out/test/parse/module/bad-export-func-name-undefined.txt:2:29: undefined function variable "$foo" (module (export "foo" (func $foo))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-name.txt b/test/parse/module/bad-export-func-name.txt index 554401e6..0d189e35 100644 --- a/test/parse/module/bad-export-func-name.txt +++ b/test/parse/module/bad-export-func-name.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (export "foo" (func foo))) (;; STDERR ;;; -parse/module/bad-export-func-name.txt:2:29: unexpected token "foo" +out/test/parse/module/bad-export-func-name.txt:2:29: unexpected token "foo" (module (export "foo" (func foo))) ^^^ -parse/module/bad-export-func-name.txt:2:32: syntax error, unexpected ), expecting NAT or VAR +out/test/parse/module/bad-export-func-name.txt:2:32: syntax error, unexpected ), expecting NAT or VAR (module (export "foo" (func foo))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-no-string.txt b/test/parse/module/bad-export-func-no-string.txt index fd7dac63..384950ab 100644 --- a/test/parse/module/bad-export-func-no-string.txt +++ b/test/parse/module/bad-export-func-no-string.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func nop) (export nop nop)) (;; STDERR ;;; -parse/module/bad-export-func-no-string.txt:2:28: syntax error, unexpected NOP, expecting TEXT +out/test/parse/module/bad-export-func-no-string.txt:2:28: syntax error, unexpected NOP, expecting TEXT (module (func nop) (export nop nop)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-too-many.txt b/test/parse/module/bad-export-func-too-many.txt index 5e6f0bd6..e560cfdf 100644 --- a/test/parse/module/bad-export-func-too-many.txt +++ b/test/parse/module/bad-export-func-too-many.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func nop) (export "nop" (func 0 foo))) (;; STDERR ;;; -parse/module/bad-export-func-too-many.txt:2:42: unexpected token "foo" +out/test/parse/module/bad-export-func-too-many.txt:2:42: unexpected token "foo" (module (func nop) (export "nop" (func 0 foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-func-undefined.txt b/test/parse/module/bad-export-func-undefined.txt index 0f68d21f..048f4968 100644 --- a/test/parse/module/bad-export-func-undefined.txt +++ b/test/parse/module/bad-export-func-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (func 0))) (;; STDERR ;;; -parse/module/bad-export-func-undefined.txt:2:29: function variable out of range (max 0) +out/test/parse/module/bad-export-func-undefined.txt:2:29: function variable out of range (max 0) (module (export "foo" (func 0))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-global-name-undefined.txt b/test/parse/module/bad-export-global-name-undefined.txt index 61c5af9b..db502d85 100644 --- a/test/parse/module/bad-export-global-name-undefined.txt +++ b/test/parse/module/bad-export-global-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (global $bar))) (;; STDERR ;;; -parse/module/bad-export-global-name-undefined.txt:2:31: undefined global variable "$bar" +out/test/parse/module/bad-export-global-name-undefined.txt:2:31: undefined global variable "$bar" (module (export "foo" (global $bar))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-global-undefined.txt b/test/parse/module/bad-export-global-undefined.txt index f2b5ad7c..06087257 100644 --- a/test/parse/module/bad-export-global-undefined.txt +++ b/test/parse/module/bad-export-global-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (global 0))) (;; STDERR ;;; -parse/module/bad-export-global-undefined.txt:2:31: global variable out of range (max 0) +out/test/parse/module/bad-export-global-undefined.txt:2:31: global variable out of range (max 0) (module (export "foo" (global 0))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-memory-name-undefined.txt b/test/parse/module/bad-export-memory-name-undefined.txt index feb4158c..5b96bf1e 100644 --- a/test/parse/module/bad-export-memory-name-undefined.txt +++ b/test/parse/module/bad-export-memory-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (memory $bar))) (;; STDERR ;;; -parse/module/bad-export-memory-name-undefined.txt:2:31: undefined memory variable "$bar" +out/test/parse/module/bad-export-memory-name-undefined.txt:2:31: undefined memory variable "$bar" (module (export "foo" (memory $bar))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-memory-undefined.txt b/test/parse/module/bad-export-memory-undefined.txt index d56971c1..69c23c2d 100644 --- a/test/parse/module/bad-export-memory-undefined.txt +++ b/test/parse/module/bad-export-memory-undefined.txt @@ -2,7 +2,7 @@ (module (export "mem" (memory 0))) (;; STDERR ;;; -parse/module/bad-export-memory-undefined.txt:3:25: memory variable out of range (max 0) +out/test/parse/module/bad-export-memory-undefined.txt:3:25: memory variable out of range (max 0) (export "mem" (memory 0))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-table-name-undefined.txt b/test/parse/module/bad-export-table-name-undefined.txt index ee8717aa..b8c7fd64 100644 --- a/test/parse/module/bad-export-table-name-undefined.txt +++ b/test/parse/module/bad-export-table-name-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (table $bar))) (;; STDERR ;;; -parse/module/bad-export-table-name-undefined.txt:2:30: undefined table variable "$bar" +out/test/parse/module/bad-export-table-name-undefined.txt:2:30: undefined table variable "$bar" (module (export "foo" (table $bar))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-export-table-undefined.txt b/test/parse/module/bad-export-table-undefined.txt index 86ec83bb..15e909fe 100644 --- a/test/parse/module/bad-export-table-undefined.txt +++ b/test/parse/module/bad-export-table-undefined.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (export "foo" (table 0))) (;; STDERR ;;; -parse/module/bad-export-table-undefined.txt:2:30: table variable out of range (max 0) +out/test/parse/module/bad-export-table-undefined.txt:2:30: table variable out of range (max 0) (module (export "foo" (table 0))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-func-redefinition.txt b/test/parse/module/bad-func-redefinition.txt index a9032199..d043929f 100644 --- a/test/parse/module/bad-func-redefinition.txt +++ b/test/parse/module/bad-func-redefinition.txt @@ -3,7 +3,7 @@ (func $n nop) (func $n nop)) (;; STDERR ;;; -parse/module/bad-func-redefinition.txt:4:3: redefinition of function "$n" +out/test/parse/module/bad-func-redefinition.txt:4:3: redefinition of function "$n" (func $n nop)) ^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-global-invalid-expr.txt b/test/parse/module/bad-global-invalid-expr.txt index e8da98c5..b863add4 100644 --- a/test/parse/module/bad-global-invalid-expr.txt +++ b/test/parse/module/bad-global-invalid-expr.txt @@ -5,7 +5,7 @@ i32.const 2 i32.add)) (;; STDERR ;;; -parse/module/bad-global-invalid-expr.txt:3:3: invalid global initializer expression, must be a constant expression; either *.const or get_global. +out/test/parse/module/bad-global-invalid-expr.txt:3:3: invalid global initializer expression, must be a constant expression; either *.const or get_global. (global i32 ^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-global-invalid-getglobal.txt b/test/parse/module/bad-global-invalid-getglobal.txt index b2ba7ec1..e650bd1c 100644 --- a/test/parse/module/bad-global-invalid-getglobal.txt +++ b/test/parse/module/bad-global-invalid-getglobal.txt @@ -2,7 +2,7 @@ (module (global i32 (get_global 1))) (;; STDERR ;;; -parse/module/bad-global-invalid-getglobal.txt:3:27: global variable out of range (max 1) +out/test/parse/module/bad-global-invalid-getglobal.txt:3:27: global variable out of range (max 1) (global i32 (get_global 1))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-func-not-param.txt b/test/parse/module/bad-import-func-not-param.txt index 551cd8a1..f0c41412 100644 --- a/test/parse/module/bad-import-func-not-param.txt +++ b/test/parse/module/bad-import-func-not-param.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (import "foo" "bar" (func (parump i32)))) (;; STDERR ;;; -parse/module/bad-import-func-not-param.txt:2:36: unexpected token "parump" +out/test/parse/module/bad-import-func-not-param.txt:2:36: unexpected token "parump" (module (import "foo" "bar" (func (parump i32)))) ^^^^^^ -parse/module/bad-import-func-not-param.txt:2:43: syntax error, unexpected VALUE_TYPE, expecting TYPE or PARAM or RESULT +out/test/parse/module/bad-import-func-not-param.txt:2:43: syntax error, unexpected VALUE_TYPE, expecting TYPE or PARAM or RESULT (module (import "foo" "bar" (func (parump i32)))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-func-not-result.txt b/test/parse/module/bad-import-func-not-result.txt index 6e6b9754..81dc1ce9 100644 --- a/test/parse/module/bad-import-func-not-result.txt +++ b/test/parse/module/bad-import-func-not-result.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (import "foo" "bar" (func (param i32) (resalt i32)))) (;; STDERR ;;; -parse/module/bad-import-func-not-result.txt:2:48: unexpected token "resalt" +out/test/parse/module/bad-import-func-not-result.txt:2:48: unexpected token "resalt" (module (import "foo" "bar" (func (param i32) (resalt i32)))) ^^^^^^ -parse/module/bad-import-func-not-result.txt:2:55: syntax error, unexpected VALUE_TYPE, expecting RESULT +out/test/parse/module/bad-import-func-not-result.txt:2:55: syntax error, unexpected VALUE_TYPE, expecting RESULT (module (import "foo" "bar" (func (param i32) (resalt i32)))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-func-one-string.txt b/test/parse/module/bad-import-func-one-string.txt index a040a23a..61bae648 100644 --- a/test/parse/module/bad-import-func-one-string.txt +++ b/test/parse/module/bad-import-func-one-string.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (import "foo" (param i32))) (;; STDERR ;;; -parse/module/bad-import-func-one-string.txt:2:23: syntax error, unexpected (, expecting TEXT +out/test/parse/module/bad-import-func-one-string.txt:2:23: syntax error, unexpected (, expecting TEXT (module (import "foo" (param i32))) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-func-redefinition.txt b/test/parse/module/bad-import-func-redefinition.txt index 62c038b3..fce8e9f2 100644 --- a/test/parse/module/bad-import-func-redefinition.txt +++ b/test/parse/module/bad-import-func-redefinition.txt @@ -3,7 +3,7 @@ (import "bar" "baz" (func $foo (param i32))) (import "quux" "blorf" (func $foo (param f32)))) (;; STDERR ;;; -parse/module/bad-import-func-redefinition.txt:4:3: redefinition of function "$foo" +out/test/parse/module/bad-import-func-redefinition.txt:4:3: redefinition of function "$foo" (import "quux" "blorf" (func $foo (param f32)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-global-redefinition.txt b/test/parse/module/bad-import-global-redefinition.txt index 6877f70a..1c269314 100644 --- a/test/parse/module/bad-import-global-redefinition.txt +++ b/test/parse/module/bad-import-global-redefinition.txt @@ -3,7 +3,7 @@ (import "foo" "bar" (global $baz i32)) (import "oof" "rab" (global $baz i32))) (;; STDERR ;;; -parse/module/bad-import-global-redefinition.txt:4:3: redefinition of global "$baz" +out/test/parse/module/bad-import-global-redefinition.txt:4:3: redefinition of global "$baz" (import "oof" "rab" (global $baz i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-memory-redefinition.txt b/test/parse/module/bad-import-memory-redefinition.txt index 1610382a..5377d445 100644 --- a/test/parse/module/bad-import-memory-redefinition.txt +++ b/test/parse/module/bad-import-memory-redefinition.txt @@ -3,7 +3,7 @@ (import "foo" "bar" (memory $baz 0)) (import "foo" "blah" (memory $baz 0))) (;; STDERR ;;; -parse/module/bad-import-memory-redefinition.txt:4:3: redefinition of memory "$baz" +out/test/parse/module/bad-import-memory-redefinition.txt:4:3: redefinition of memory "$baz" (import "foo" "blah" (memory $baz 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-import-table-redefinition.txt b/test/parse/module/bad-import-table-redefinition.txt index 1ca01851..1873ef78 100644 --- a/test/parse/module/bad-import-table-redefinition.txt +++ b/test/parse/module/bad-import-table-redefinition.txt @@ -3,7 +3,7 @@ (import "foo" "bar" (table $baz 0 anyfunc)) (import "foo" "blah" (table $baz 0 anyfunc))) (;; STDERR ;;; -parse/module/bad-import-table-redefinition.txt:4:3: redefinition of table "$baz" +out/test/parse/module/bad-import-table-redefinition.txt:4:3: redefinition of table "$baz" (import "foo" "blah" (table $baz 0 anyfunc))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-empty.txt b/test/parse/module/bad-memory-empty.txt index 869bb9a5..701a7645 100644 --- a/test/parse/module/bad-memory-empty.txt +++ b/test/parse/module/bad-memory-empty.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory)) (;; STDERR ;;; -parse/module/bad-memory-empty.txt:2:16: syntax error, unexpected ), expecting NAT +out/test/parse/module/bad-memory-empty.txt:2:16: syntax error, unexpected ), expecting NAT (module (memory)) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-init-size-negative.txt b/test/parse/module/bad-memory-init-size-negative.txt index 93003f01..4f7b824a 100644 --- a/test/parse/module/bad-memory-init-size-negative.txt +++ b/test/parse/module/bad-memory-init-size-negative.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory -100)) (;; STDERR ;;; -parse/module/bad-memory-init-size-negative.txt:2:17: syntax error, unexpected INT, expecting NAT +out/test/parse/module/bad-memory-init-size-negative.txt:2:17: syntax error, unexpected INT, expecting NAT (module (memory -100)) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-init-size-too-big.txt b/test/parse/module/bad-memory-init-size-too-big.txt index ef116334..3e47a1ca 100644 --- a/test/parse/module/bad-memory-init-size-too-big.txt +++ b/test/parse/module/bad-memory-init-size-too-big.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory 65537)) (;; STDERR ;;; -parse/module/bad-memory-init-size-too-big.txt:2:9: initial pages (65537) must be <= (65536) +out/test/parse/module/bad-memory-init-size-too-big.txt:2:9: initial pages (65537) must be <= (65536) (module (memory 65537)) ^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-init-size.txt b/test/parse/module/bad-memory-init-size.txt index ccbf7c6b..b3a894b0 100644 --- a/test/parse/module/bad-memory-init-size.txt +++ b/test/parse/module/bad-memory-init-size.txt @@ -1,10 +1,10 @@ ;;; ERROR: 1 (module (memory foo)) (;; STDERR ;;; -parse/module/bad-memory-init-size.txt:2:17: unexpected token "foo" +out/test/parse/module/bad-memory-init-size.txt:2:17: unexpected token "foo" (module (memory foo)) ^^^ -parse/module/bad-memory-init-size.txt:2:20: syntax error, unexpected ), expecting NAT +out/test/parse/module/bad-memory-init-size.txt:2:20: syntax error, unexpected ), expecting NAT (module (memory foo)) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-max-less-than-init.txt b/test/parse/module/bad-memory-max-less-than-init.txt index 7b511843..b5d74426 100644 --- a/test/parse/module/bad-memory-max-less-than-init.txt +++ b/test/parse/module/bad-memory-max-less-than-init.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory 2 1)) (;; STDERR ;;; -parse/module/bad-memory-max-less-than-init.txt:2:9: max pages (1) must be >= initial pages (2) +out/test/parse/module/bad-memory-max-less-than-init.txt:2:9: max pages (1) must be >= initial pages (2) (module (memory 2 1)) ^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-max-size-negative.txt b/test/parse/module/bad-memory-max-size-negative.txt index 5d0ec65a..bd65f811 100644 --- a/test/parse/module/bad-memory-max-size-negative.txt +++ b/test/parse/module/bad-memory-max-size-negative.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory 100 -5)) (;; STDERR ;;; -parse/module/bad-memory-max-size-negative.txt:2:21: syntax error, unexpected INT, expecting ) +out/test/parse/module/bad-memory-max-size-negative.txt:2:21: syntax error, unexpected INT, expecting ) (module (memory 100 -5)) ^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-max-size-too-big.txt b/test/parse/module/bad-memory-max-size-too-big.txt index eae3f151..998d7e07 100644 --- a/test/parse/module/bad-memory-max-size-too-big.txt +++ b/test/parse/module/bad-memory-max-size-too-big.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory 0 65537)) (;; STDERR ;;; -parse/module/bad-memory-max-size-too-big.txt:2:9: max pages (65537) must be <= (65536) +out/test/parse/module/bad-memory-max-size-too-big.txt:2:9: max pages (65537) must be <= (65536) (module (memory 0 65537)) ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-max-size.txt b/test/parse/module/bad-memory-max-size.txt index 304a1094..c8e6e34c 100644 --- a/test/parse/module/bad-memory-max-size.txt +++ b/test/parse/module/bad-memory-max-size.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (memory 100 foo)) (;; STDERR ;;; -parse/module/bad-memory-max-size.txt:2:21: unexpected token "foo" +out/test/parse/module/bad-memory-max-size.txt:2:21: unexpected token "foo" (module (memory 100 foo)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-segment-address.txt b/test/parse/module/bad-memory-segment-address.txt index 52a4607d..2d0d543a 100644 --- a/test/parse/module/bad-memory-segment-address.txt +++ b/test/parse/module/bad-memory-segment-address.txt @@ -3,10 +3,10 @@ (memory 100) (data foo)) (;; STDERR ;;; -parse/module/bad-memory-segment-address.txt:4:9: unexpected token "foo" +out/test/parse/module/bad-memory-segment-address.txt:4:9: unexpected token "foo" (data foo)) ^^^ -parse/module/bad-memory-segment-address.txt:4:12: syntax error, unexpected ), expecting ( or NAT or VAR +out/test/parse/module/bad-memory-segment-address.txt:4:12: syntax error, unexpected ), expecting ( or NAT or VAR (data foo)) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-memory-too-many.txt b/test/parse/module/bad-memory-too-many.txt index f4913655..944baded 100644 --- a/test/parse/module/bad-memory-too-many.txt +++ b/test/parse/module/bad-memory-too-many.txt @@ -3,7 +3,7 @@ (memory 1) (memory 2)) (;; STDERR ;;; -parse/module/bad-memory-too-many.txt:4:3: only one memory block allowed +out/test/parse/module/bad-memory-too-many.txt:4:3: only one memory block allowed (memory 2)) ^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-module-no-close.txt b/test/parse/module/bad-module-no-close.txt index 1bcfa153..cd4b2549 100644 --- a/test/parse/module/bad-module-no-close.txt +++ b/test/parse/module/bad-module-no-close.txt @@ -1,5 +1,5 @@ ;;; ERROR: 1 (module (;; STDERR ;;; -parse/module/bad-module-no-close.txt:3:1: syntax error, unexpected EOF, expecting ( or ) +out/test/parse/module/bad-module-no-close.txt:3:1: syntax error, unexpected EOF, expecting ( or ) ;;; STDERR ;;) diff --git a/test/parse/module/bad-start-not-nullary.txt b/test/parse/module/bad-start-not-nullary.txt index 9ded47f8..5745327e 100644 --- a/test/parse/module/bad-start-not-nullary.txt +++ b/test/parse/module/bad-start-not-nullary.txt @@ -3,7 +3,7 @@ (start 0) (func (param i32))) (;; STDERR ;;; -parse/module/bad-start-not-nullary.txt:3:3: start function must be nullary +out/test/parse/module/bad-start-not-nullary.txt:3:3: start function must be nullary (start 0) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-start-not-void.txt b/test/parse/module/bad-start-not-void.txt index 7a0ab7c7..23ee6900 100644 --- a/test/parse/module/bad-start-not-void.txt +++ b/test/parse/module/bad-start-not-void.txt @@ -4,7 +4,7 @@ (func (result i32) i32.const 0)) (;; STDERR ;;; -parse/module/bad-start-not-void.txt:3:3: start function must not return anything +out/test/parse/module/bad-start-not-void.txt:3:3: start function must not return anything (start 0) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-start-too-many.txt b/test/parse/module/bad-start-too-many.txt index 467577b6..ba18c15c 100644 --- a/test/parse/module/bad-start-too-many.txt +++ b/test/parse/module/bad-start-too-many.txt @@ -5,7 +5,7 @@ (func) (func)) (;; STDERR ;;; -parse/module/bad-start-too-many.txt:4:3: only one start function allowed +out/test/parse/module/bad-start-too-many.txt:4:3: only one start function allowed (start 1) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-table-invalid-function.txt b/test/parse/module/bad-table-invalid-function.txt index 6269a381..fa36ad84 100644 --- a/test/parse/module/bad-table-invalid-function.txt +++ b/test/parse/module/bad-table-invalid-function.txt @@ -4,7 +4,7 @@ (func $f) (elem (i32.const 0) $f 1)) (;; STDERR ;;; -parse/module/bad-table-invalid-function.txt:5:26: function variable out of range (max 1) +out/test/parse/module/bad-table-invalid-function.txt:5:26: function variable out of range (max 1) (elem (i32.const 0) $f 1)) ^ ;;; STDERR ;;) diff --git a/test/parse/module/bad-table-too-many.txt b/test/parse/module/bad-table-too-many.txt index f86b3fc4..7c25d640 100644 --- a/test/parse/module/bad-table-too-many.txt +++ b/test/parse/module/bad-table-too-many.txt @@ -4,7 +4,7 @@ (table anyfunc (elem 0)) (table anyfunc (elem 0))) (;; STDERR ;;; -parse/module/bad-table-too-many.txt:5:3: only one table allowed +out/test/parse/module/bad-table-too-many.txt:5:3: only one table allowed (table anyfunc (elem 0))) ^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/regress/regress-1.txt b/test/regress/regress-1.txt index c0571675..d83498d3 100644 --- a/test/regress/regress-1.txt +++ b/test/regress/regress-1.txt @@ -3,7 +3,7 @@ (func(call $i32 )) (func $UemoOy_size )) (;; STDERR ;;; -regress/regress-1.txt:3:14: undefined function variable "$i32" +out/test/regress/regress-1.txt:3:14: undefined function variable "$i32" (func(call $i32 )) ^^^^ ;;; STDERR ;;) diff --git a/test/regress/regress-2.txt b/test/regress/regress-2.txt index be34e88a..ce272dee 100644 --- a/test/regress/regress-2.txt +++ b/test/regress/regress-2.txt @@ -10,10 +10,10 @@ (func $memory(param f32)(call 332 )) (func $memorGe )) (;; STDERR ;;; -regress/regress-2.txt:10:3: redefinition of function "$memory" +out/test/regress/regress-2.txt:10:3: redefinition of function "$memory" (func $memory(param f32)(call 332 )) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -regress/regress-2.txt:6:3: redefinition of function "$memor" +out/test/regress/regress-2.txt:6:3: redefinition of function "$memor" (func $memor(call 2 )) ^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/regress/regress-4.txt b/test/regress/regress-4.txt index e6ceb522..03e63677 100644 --- a/test/regress/regress-4.txt +++ b/test/regress/regress-4.txt @@ -5,7 +5,7 @@ (func (param $p i32) (get_local $n))) (;; STDERR ;;; -regress/regress-4.txt:6:16: undefined local variable "$n" +out/test/regress/regress-4.txt:6:16: undefined local variable "$n" (get_local $n))) ^^ ;;; STDERR ;;) diff --git a/test/regress/regress-5.txt b/test/regress/regress-5.txt index 77071753..f3732b0c 100644 --- a/test/regress/regress-5.txt +++ b/test/regress/regress-5.txt @@ -117,7 +117,7 @@ (i64.const 0)) ;; deliberate type-check error ) (;; STDERR ;;; -regress/regress-5.txt:116:3: type mismatch at function. got i64, expected i32 +out/test/regress/regress-5.txt:116:3: type mismatch at function. got i64, expected i32 (func (result i32) ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/run-roundtrip.py b/test/run-roundtrip.py index 01059e65..a83e4c8b 100755 --- a/test/run-roundtrip.py +++ b/test/run-roundtrip.py @@ -24,7 +24,6 @@ import sys import tempfile import find_exe -import findtests import utils from utils import Error diff --git a/test/run-tests.py b/test/run-tests.py index 63a5bb91..6d559e7d 100755 --- a/test/run-tests.py +++ b/test/run-tests.py @@ -31,19 +31,18 @@ import shlex import shutil import subprocess import sys -import tempfile import threading import time import find_exe -import findtests from utils import Error IS_WINDOWS = sys.platform == 'win32' -SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -REPO_ROOT_DIR = os.path.dirname(SCRIPT_DIR) -ROUNDTRIP_PY = os.path.join(SCRIPT_DIR, 'run-roundtrip.py') +TEST_DIR = os.path.dirname(os.path.abspath(__file__)) +REPO_ROOT_DIR = os.path.dirname(TEST_DIR) +OUT_DIR = os.path.join(REPO_ROOT_DIR, 'out') +ROUNDTRIP_PY = os.path.join(TEST_DIR, 'run-roundtrip.py') DEFAULT_TIMEOUT = 10 # seconds SLOW_TIMEOUT_MULTIPLIER = 2 @@ -257,12 +256,10 @@ def RunCommandWithTimeout(command, cwd, timeout, console_out=False): class TestInfo(object): def __init__(self): - self.name = '' - self.generated_input_filename = '' self.filename = '' self.header = [] self.input_filename = '' - self.input_ = [] + self.input_ = '' self.expected_stdout = '' self.expected_stderr = '' self.tool = 'wast2wasm' @@ -276,8 +273,6 @@ class TestInfo(object): def CreateRoundtripInfo(self): result = TestInfo() - result.name = '%s (roundtrip)' % self.name - result.generated_input_filename = AppendBeforeExt(self.name, '-roundtrip') result.filename = self.filename result.header = self.header result.input_filename = self.input_filename @@ -294,6 +289,25 @@ class TestInfo(object): result.is_roundtrip = True return result + def GetName(self): + name = self.filename + if self.is_roundtrip: + name += ' (roundtrip)' + return name + + def GetGeneratedInputFilename(self): + path = OUT_DIR + if self.input_filename: + path = os.path.join(path, self.input_filename) + else: + path = os.path.join(path, self.filename) + + if self.is_roundtrip: + dirname = os.path.dirname(path) + basename = os.path.basename(path) + path = os.path.join(dirname, 'roundtrip', basename) + return path + def ShouldCreateRoundtrip(self): return self.tool in ROUNDTRIP_TOOLS @@ -302,7 +316,6 @@ class TestInfo(object): self.exe = value elif key == 'STDIN_FILE': self.input_filename = value - self.generated_input_filename = value elif key == 'FLAGS': self.flags += shlex.split(value) elif key == 'ERROR': @@ -325,11 +338,10 @@ class TestInfo(object): raise Error('Unknown directive: %s' % key) def Parse(self, filename): - self.name = filename - self.filename = os.path.join(SCRIPT_DIR, filename) - self.generated_input_filename = self.name + self.filename = filename - with open(self.filename) as f: + test_path = os.path.join(REPO_ROOT_DIR, filename) + with open(test_path) as f: seen_keys = set() state = 'header' empty = True @@ -411,32 +423,31 @@ class TestInfo(object): self.last_cmd = cmd return cmd - def CreateInputFile(self, temp_dir): - file_path = os.path.join(temp_dir, self.generated_input_filename) - file_dir = os.path.dirname(file_path) + def CreateInputFile(self): + gen_input_path = self.GetGeneratedInputFilename() + gen_input_dir = os.path.dirname(gen_input_path) try: - os.makedirs(file_dir) + os.makedirs(gen_input_dir) except OSError as e: - if not os.path.isdir(file_dir): + if not os.path.isdir(gen_input_dir): raise - file_ = open(file_path, 'wb') - # add an empty line for each header line so the line numbers match - if self.input_filename: - with open(self.input_filename, 'rb') as input_filename: - file_.write(input_filename.read()) - else: - file_.write(('\n' * self.header.count('\n')).encode('ascii')) - file_.write(self.input_.encode('ascii')) - file_.flush() - file_.close() - - # make filenames relative to temp_dir so the autogenerated name is not - # included in the error output. - return os.path.relpath(file_.name, temp_dir) + # Read/write as binary because spec tests may have invalid UTF-8 codes. + with open(gen_input_path, 'wb') as gen_input_file: + if self.input_filename: + input_path = os.path.join(REPO_ROOT_DIR, self.input_filename) + with open(input_path, 'rb') as input_file: + gen_input_file.write(input_file.read()) + else: + # add an empty line for each header line so the line numbers match + gen_input_file.write(('\n' * self.header.count('\n')).encode('ascii')) + gen_input_file.write(self.input_.encode('ascii')) + gen_input_file.flush() + return gen_input_file.name def Rebase(self, stdout, stderr): - with open(self.filename, 'wb') as f: + test_path = os.path.join(REPO_ROOT_DIR, self.filename) + with open(test_path, 'w', newline='') as f: f.write(self.header) f.write(self.input_) if stderr: @@ -483,7 +494,7 @@ class Status(object): def Passed(self, info, duration): self.passed += 1 if self.verbose: - sys.stderr.write('+ %s (%.3fs)\n' % (info.name, duration)) + sys.stderr.write('+ %s (%.3fs)\n' % (info.GetName(), duration)) else: self.Clear() self._PrintShortStatus(info) @@ -494,12 +505,12 @@ class Status(object): self.failed_tests.append(info) if not self.verbose: self.Clear() - sys.stderr.write('- %s\n%s\n' % (info.name, Indent(error_msg, 2))) + sys.stderr.write('- %s\n%s\n' % (info.GetName(), Indent(error_msg, 2))) def Skipped(self, info): self.skipped += 1 if self.verbose: - sys.stderr.write('. %s (skipped)\n' % info.name) + sys.stderr.write('. %s (skipped)\n' % info.GetName()) def UpdateTimer(self): self._PrintShortStatus(self.last_finished) @@ -510,7 +521,7 @@ class Status(object): def _PrintShortStatus(self, info): total_duration = time.time() - self.start_time - name = info.name if info else '' + name = info.GetName() if info else '' if (self.total - self.skipped): percent = 100 * (self.passed + self.failed) / (self.total - self.skipped) else: @@ -526,6 +537,17 @@ class Status(object): sys.stderr.write('%s\r' % (' ' * self.last_length)) +def FindTestFiles(ext, filter_pattern_re): + tests = [] + for root, dirs, files in os.walk(TEST_DIR): + for f in files: + path = os.path.join(root, f) + if os.path.splitext(f)[1] == ext: + tests.append(os.path.relpath(path, REPO_ROOT_DIR)) + tests.sort() + return [test for test in tests if re.match(filter_pattern_re, test)] + + def GetAllTestInfo(test_names, status): infos = [] for test_name in test_names: @@ -535,23 +557,29 @@ def GetAllTestInfo(test_names, status): infos.append(info) except Error as e: status.Failed(info, str(e)) - return infos + def RunTest(info, options, variables, verbose_level = 0): timeout = options.timeout if info.slow: timeout *= SLOW_TIMEOUT_MULTIPLIER + # Clone variables dict so it can be safely modified. + variables = dict(variables) + try: - rel_file_path = info.CreateInputFile(variables['out_dir']) - cmd = info.GetCommand(rel_file_path, variables, options.arg, verbose_level) - out = RunCommandWithTimeout(cmd, variables['out_dir'], timeout, - verbose_level > 0) - return out + cwd = REPO_ROOT_DIR + gen_input_path = info.CreateInputFile() + rel_gen_input_path = os.path.relpath(gen_input_path, cwd) + variables['out_dir'] = os.path.dirname(rel_gen_input_path) + cmd = info.GetCommand(rel_gen_input_path, variables, options.arg, + verbose_level) + return RunCommandWithTimeout(cmd, cwd, timeout, verbose_level > 0) except Exception as e: return e + def ThreadWorker(i, options, variables, inq, outq, should_run): try: while should_run.Get(): @@ -567,6 +595,7 @@ def ThreadWorker(i, options, variables, inq, outq, should_run): except KeyboardInterrupt: pass + def HandleTestResult(status, info, result, rebase=False): try: if isinstance(result, Exception): @@ -601,6 +630,7 @@ def HandleTestResult(status, info, result, rebase=False): except Exception as e: status.Failed(info, str(e)) + #Source : http://stackoverflow.com/questions/3041986/python-command-line-yes-no-input def YesNoPrompt(question, default='yes'): """Ask a yes/no question via raw_input() and return their answer. @@ -634,15 +664,12 @@ def YesNoPrompt(question, default='yes'): sys.stdout.write('Please respond with \'yes\' or \'no\' ' '(or \'y\' or \'n\').\n') -def WaitWorkersTerminate(workers, timeout=5): - for worker in workers: - if worker.is_alive(): - worker.join(timeout) -def RunMultiThreaded(infos_to_run, test_count, status, options, variables): +def RunMultiThreaded(infos_to_run, status, options, variables): should_stop_on_error = options.stop_interactive continued_errors = 0 num_threads = options.jobs + test_count = len(infos_to_run) all_threads = [] try: @@ -676,7 +703,10 @@ def RunMultiThreaded(infos_to_run, test_count, status, options, variables): continued_errors += 1 finally: should_run.Set(False) - WaitWorkersTerminate(all_threads) + for thread in all_threads: + if thread.is_alive(): + thread.join(timeout=5) + def RunSingleThreaded(infos_to_run, status, options, variables): continued_errors = 0 @@ -700,6 +730,7 @@ def RunSingleThreaded(infos_to_run, status, options, variables): RunTest(info, options, variables, verbose_level=1) continued_errors += 1 + def GetDefaultJobCount(): cpu_count = multiprocessing.cpu_count() if cpu_count <= 1: @@ -707,13 +738,12 @@ def GetDefaultJobCount(): else: return cpu_count // 2 + def main(args): parser = argparse.ArgumentParser() parser.add_argument('-a', '--arg', help='additional args to pass to executable', action='append') - parser.add_argument('-o', '--out-dir', metavar='PATH', - help='output directory for files.') parser.add_argument('--exe-dir', metavar='PATH', help='directory to search for all executables. ' 'This can be overridden by the other executable ' @@ -759,7 +789,7 @@ def main(args): else: pattern_re = '.*' - test_names = findtests.FindTestFiles(SCRIPT_DIR, '.txt', pattern_re) + test_names = FindTestFiles('.txt', pattern_re) if options.list: for test_name in test_names: @@ -770,7 +800,7 @@ def main(args): return 1 variables = {} - variables['test_dir'] = os.path.abspath(SCRIPT_DIR) + variables['test_dir'] = os.path.abspath(TEST_DIR) for exe_basename in find_exe.EXECUTABLES: attr_name = exe_basename.replace('-', '_') @@ -792,33 +822,21 @@ def main(args): continue infos_to_run.append(info) - if options.roundtrip: - if info.ShouldCreateRoundtrip(): - infos_to_run.append(info.CreateRoundtripInfo()) + if options.roundtrip and info.ShouldCreateRoundtrip(): + infos_to_run.append(info.CreateRoundtripInfo()) - test_count = len(infos_to_run) - status.Start(test_count) + if not os.path.exists(OUT_DIR): + os.makedirs(OUT_DIR) - if options.out_dir: - out_dir = options.out_dir - out_dir_is_temp = False - if not os.path.exists(out_dir): - os.makedirs(out_dir) - else: - out_dir = tempfile.mkdtemp(prefix='wabt-') - out_dir_is_temp = True - variables['out_dir'] = os.path.abspath(out_dir) + status.Start(len(infos_to_run)) try: if options.jobs > 1: - RunMultiThreaded(infos_to_run, test_count, status, options, variables) + RunMultiThreaded(infos_to_run, status, options, variables) else: RunSingleThreaded(infos_to_run, status, options, variables) except KeyboardInterrupt: print('\nInterrupted testing\n') - finally: - if out_dir_is_temp: - shutil.rmtree(out_dir) status.Clear() @@ -827,7 +845,8 @@ def main(args): if status.failed: sys.stderr.write('**** FAILED %s\n' % ('*' * (80 - 14))) for info in status.failed_tests: - sys.stderr.write('- %s\n %s\n' % (info.name, ' '.join(info.last_cmd))) + sys.stderr.write('- %s\n %s\n' % (info.GetName(), + ' '.join(info.last_cmd))) ret = 1 status.Print() diff --git a/test/spec/address-offset-range.fail.txt b/test/spec/address-offset-range.fail.txt index 79a307e0..c35b7072 100644 --- a/test/spec/address-offset-range.fail.txt +++ b/test/spec/address-offset-range.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/address-offset-range.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/address-offset-range.fail.wast:3:21: offset must be less than or equal to 0xffffffff +out/third_party/testsuite/address-offset-range.fail.wast:3:21: offset must be less than or equal to 0xffffffff (func $bad (drop (i32.load offset=4294967296 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/binary.txt b/test/spec/binary.txt index bd4caf41..344d4085 100644 --- a/test/spec/binary.txt +++ b/test/spec/binary.txt @@ -2,76 +2,76 @@ ;;; STDIN_FILE: third_party/testsuite/binary.wast (;; STDOUT ;;; assert_malformed error: - third_party/testsuite/binary.wast:6:20: error in binary module: @0x00000000: unable to read uint32_t: magic + out/third_party/testsuite/binary.wast:6:20: error in binary module: @0x00000000: unable to read uint32_t: magic (assert_malformed (module "") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:7:20: error in binary module: @0x00000000: unable to read uint32_t: magic + out/third_party/testsuite/binary.wast:7:20: error in binary module: @0x00000000: unable to read uint32_t: magic (assert_malformed (module "\01") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:8:20: error in binary module: @0x00000000: unable to read uint32_t: magic + out/third_party/testsuite/binary.wast:8:20: error in binary module: @0x00000000: unable to read uint32_t: magic (assert_malformed (module "\00as") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:9:20: error in binary module: @0x00000004: bad magic value + out/third_party/testsuite/binary.wast:9:20: error in binary module: @0x00000004: bad magic value (assert_malformed (module "asm\00") "magic header not detected") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:10:20: error in binary module: @0x00000004: bad magic value + out/third_party/testsuite/binary.wast:10:20: error in binary module: @0x00000004: bad magic value (assert_malformed (module "msa\00") "magic header not detected") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:11:20: error in binary module: @0x00000004: bad magic value + out/third_party/testsuite/binary.wast:11:20: error in binary module: @0x00000004: bad magic value (assert_malformed (module "msa\00\0d\00\00\00") "magic header not detected") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:12:20: error in binary module: @0x00000004: bad magic value + out/third_party/testsuite/binary.wast:12:20: error in binary module: @0x00000004: bad magic value (assert_malformed (module "msa\00\00\00\00\0d") "magic header not detected") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:14:20: error in binary module: @0x00000004: unable to read uint32_t: version + out/third_party/testsuite/binary.wast:14:20: error in binary module: @0x00000004: unable to read uint32_t: version (assert_malformed (module "\00asm") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:15:20: error in binary module: @0x00000004: unable to read uint32_t: version + out/third_party/testsuite/binary.wast:15:20: error in binary module: @0x00000004: unable to read uint32_t: version (assert_malformed (module "\00asm\0d") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:16:20: error in binary module: @0x00000004: unable to read uint32_t: version + out/third_party/testsuite/binary.wast:16:20: error in binary module: @0x00000004: unable to read uint32_t: version (assert_malformed (module "\00asm\0d\00\00") "unexpected end") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:17:20: error in binary module: @0x00000008: bad wasm file version: 0xe (expected 0xd) + out/third_party/testsuite/binary.wast:17:20: error in binary module: @0x00000008: bad wasm file version: 0xe (expected 0xd) (assert_malformed (module "\00asm\0e\00\00\00") "unknown binary version") ^^^^^^ assert_malformed error: - third_party/testsuite/binary.wast:18:20: error in binary module: @0x00000008: bad wasm file version: 0xd000000 (expected 0xd) + out/third_party/testsuite/binary.wast:18:20: error in binary module: @0x00000008: bad wasm file version: 0xd000000 (expected 0xd) (assert_malformed (module "\00asm\00\00\00\0d") "unknown binary version") ^^^^^^ -third_party/testsuite/binary.wast:6: assert_malformed passed: +out/third_party/testsuite/binary.wast:6: assert_malformed passed: error: @0x00000000: unable to read uint32_t: magic -third_party/testsuite/binary.wast:7: assert_malformed passed: +out/third_party/testsuite/binary.wast:7: assert_malformed passed: error: @0x00000000: unable to read uint32_t: magic -third_party/testsuite/binary.wast:8: assert_malformed passed: +out/third_party/testsuite/binary.wast:8: assert_malformed passed: error: @0x00000000: unable to read uint32_t: magic -third_party/testsuite/binary.wast:9: assert_malformed passed: +out/third_party/testsuite/binary.wast:9: assert_malformed passed: error: @0x00000004: bad magic value -third_party/testsuite/binary.wast:10: assert_malformed passed: +out/third_party/testsuite/binary.wast:10: assert_malformed passed: error: @0x00000004: bad magic value -third_party/testsuite/binary.wast:11: assert_malformed passed: +out/third_party/testsuite/binary.wast:11: assert_malformed passed: error: @0x00000004: bad magic value -third_party/testsuite/binary.wast:12: assert_malformed passed: +out/third_party/testsuite/binary.wast:12: assert_malformed passed: error: @0x00000004: bad magic value -third_party/testsuite/binary.wast:14: assert_malformed passed: +out/third_party/testsuite/binary.wast:14: assert_malformed passed: error: @0x00000004: unable to read uint32_t: version -third_party/testsuite/binary.wast:15: assert_malformed passed: +out/third_party/testsuite/binary.wast:15: assert_malformed passed: error: @0x00000004: unable to read uint32_t: version -third_party/testsuite/binary.wast:16: assert_malformed passed: +out/third_party/testsuite/binary.wast:16: assert_malformed passed: error: @0x00000004: unable to read uint32_t: version -third_party/testsuite/binary.wast:17: assert_malformed passed: +out/third_party/testsuite/binary.wast:17: assert_malformed passed: error: @0x00000008: bad wasm file version: 0xe (expected 0xd) -third_party/testsuite/binary.wast:18: assert_malformed passed: +out/third_party/testsuite/binary.wast:18: assert_malformed passed: error: @0x00000008: bad wasm file version: 0xd000000 (expected 0xd) 12/12 tests passed. ;;; STDOUT ;;) diff --git a/test/spec/block-end-label-mismatch.fail.txt b/test/spec/block-end-label-mismatch.fail.txt index 65e39f70..eb2acae1 100644 --- a/test/spec/block-end-label-mismatch.fail.txt +++ b/test/spec/block-end-label-mismatch.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/block-end-label-mismatch.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/block-end-label-mismatch.fail.wast:1:28: mismatching label "$a" != "$l" +out/third_party/testsuite/block-end-label-mismatch.fail.wast:1:28: mismatching label "$a" != "$l" (module (func block $a end $l)) ^^ diff --git a/test/spec/block-end-label-superfluous.fail.txt b/test/spec/block-end-label-superfluous.fail.txt index 57558d61..136d6c0d 100644 --- a/test/spec/block-end-label-superfluous.fail.txt +++ b/test/spec/block-end-label-superfluous.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/block-end-label-superfluous.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/block-end-label-superfluous.fail.wast:1:25: unexpected label "$l" +out/third_party/testsuite/block-end-label-superfluous.fail.wast:1:25: unexpected label "$l" (module (func block end $l)) ^^ diff --git a/test/spec/block.txt b/test/spec/block.txt index 54587e1a..d28bdcae 100644 --- a/test/spec/block.txt +++ b/test/spec/block.txt @@ -2,147 +2,147 @@ ;;; STDIN_FILE: third_party/testsuite/block.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/block.wast:133:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:133:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i32 (result i32) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:133:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:133:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i32 (result i32) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:137:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:137:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i64 (result i64) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:137:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:137:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i64 (result i64) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:141:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:141:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f32 (result f32) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:141:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:141:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f32 (result f32) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:145:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:145:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f64 (result f64) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:145:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:145:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f64 (result f64) (block))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:151:6: type stack at end of block is 1. expected 0 + out/third_party/testsuite/block.wast:151:6: type stack at end of block is 1. expected 0 (block (i32.const 1)) ^^^^^ assert_invalid error: - third_party/testsuite/block.wast:156:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:156:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:156:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:156:11: type stack at end of function is 0. expected 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:163:6: type stack at end of block is 1. expected 0 + out/third_party/testsuite/block.wast:163:6: type stack at end of block is 1. expected 0 (block (f32.const 0)) ^^^^^ assert_invalid error: - third_party/testsuite/block.wast:162:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:162:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-value-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:162:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:162:11: type stack at end of function is 0. expected 1 (module (func $type-value-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:170:17: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/block.wast:170:17: type stack size too small at br value. got 0, expected at least 1 (block i32 (br 0)) ^^^^ assert_invalid error: - third_party/testsuite/block.wast:176:17: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/block.wast:176:17: type stack size too small at br value. got 0, expected at least 1 (block i32 (br 0) (i32.const 1)) ^^^^ assert_invalid error: - third_party/testsuite/block.wast:182:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:182:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:182:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:182:11: type stack at end of function is 0. expected 1 (module (func $type-break-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:188:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:188:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:188:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:188:11: type stack at end of function is 0. expected 1 (module (func $type-break-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:194:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:194:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-first-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:194:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:194:11: type stack at end of function is 0. expected 1 (module (func $type-break-first-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:200:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:200:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-first-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:200:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:200:11: type stack at end of function is 0. expected 1 (module (func $type-break-first-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:207:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/block.wast:207:11: type stack at end of function is 1. expected 0 (module (func $type-break-nested-num-vs-void ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:213:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:213:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-nested-empty-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:213:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:213:11: type stack at end of function is 0. expected 1 (module (func $type-break-nested-empty-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:220:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:220:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-nested-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:220:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:220:11: type stack at end of function is 0. expected 1 (module (func $type-break-nested-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:226:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/block.wast:226:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-break-nested-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:226:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/block.wast:226:11: type stack at end of function is 0. expected 1 (module (func $type-break-nested-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:234:6: type stack size too small at i32.ctz. got 0, expected at least 1 + out/third_party/testsuite/block.wast:234:6: type stack size too small at i32.ctz. got 0, expected at least 1 (i32.ctz (block (br 0))) ^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:241:6: type stack size too small at i64.ctz. got 0, expected at least 1 + out/third_party/testsuite/block.wast:241:6: type stack size too small at i64.ctz. got 0, expected at least 1 (i64.ctz (block (br 0 (nop)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:240:11: type mismatch at function. got i64, expected i32 + out/third_party/testsuite/block.wast:240:11: type mismatch at function. got i64, expected i32 (module (func $type-break-operand-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:247:6: type stack size too small at i64.ctz. got 0, expected at least 1 + out/third_party/testsuite/block.wast:247:6: type stack size too small at i64.ctz. got 0, expected at least 1 (i64.ctz (block (br 0 (i64.const 9)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/block.wast:246:11: type mismatch at function. got i64, expected i32 + out/third_party/testsuite/block.wast:246:11: type mismatch at function. got i64, expected i32 (module (func $type-break-operand-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14/14 tests passed. diff --git a/test/spec/br.txt b/test/spec/br.txt index fab9e646..55118f97 100644 --- a/test/spec/br.txt +++ b/test/spec/br.txt @@ -2,39 +2,39 @@ ;;; STDIN_FILE: third_party/testsuite/br.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/br.wast:372:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/br.wast:372:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-arg-empty-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:372:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/br.wast:372:11: type stack at end of function is 0. expected 1 (module (func $type-arg-empty-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:379:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/br.wast:379:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-arg-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:379:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/br.wast:379:11: type stack at end of function is 0. expected 1 (module (func $type-arg-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:385:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/br.wast:385:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-arg-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:385:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/br.wast:385:11: type stack at end of function is 0. expected 1 (module (func $type-arg-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br.wast:392:36: label variable out of range (max 1) + out/third_party/testsuite/br.wast:392:36: label variable out of range (max 1) (module (func $unbound-label (br 1))) ^ assert_invalid error: - third_party/testsuite/br.wast:396:57: label variable out of range (max 3) + out/third_party/testsuite/br.wast:396:57: label variable out of range (max 3) (module (func $unbound-nested-label (block (block (br 5))))) ^ assert_invalid error: - third_party/testsuite/br.wast:400:34: label variable out of range (max 1) + out/third_party/testsuite/br.wast:400:34: label variable out of range (max 1) (module (func $large-label (br 0x10000001))) ^^^^^^^^^^ 61/61 tests passed. diff --git a/test/spec/br_if.txt b/test/spec/br_if.txt index bb6a20ca..95db8453 100644 --- a/test/spec/br_if.txt +++ b/test/spec/br_if.txt @@ -2,143 +2,143 @@ ;;; STDIN_FILE: third_party/testsuite/br_if.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/br_if.wast:171:41: type stack size too small at i32.ctz. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:171:41: type stack size too small at i32.ctz. got 0, expected at least 1 (module (func $type-false-i32 (block (i32.ctz (br_if 0 (i32.const 0)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:171:34: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:171:34: type stack at end of block is 1. expected 0 (module (func $type-false-i32 (block (i32.ctz (br_if 0 (i32.const 0)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:175:41: type stack size too small at i64.ctz. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:175:41: type stack size too small at i64.ctz. got 0, expected at least 1 (module (func $type-false-i64 (block (i64.ctz (br_if 0 (i32.const 0)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:175:34: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:175:34: type stack at end of block is 1. expected 0 (module (func $type-false-i64 (block (i64.ctz (br_if 0 (i32.const 0)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:179:41: type stack size too small at f32.neg. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:179:41: type stack size too small at f32.neg. got 0, expected at least 1 (module (func $type-false-f32 (block (f32.neg (br_if 0 (i32.const 0)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:179:34: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:179:34: type stack at end of block is 1. expected 0 (module (func $type-false-f32 (block (f32.neg (br_if 0 (i32.const 0)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:183:41: type stack size too small at f64.neg. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:183:41: type stack size too small at f64.neg. got 0, expected at least 1 (module (func $type-false-f64 (block (f64.neg (br_if 0 (i32.const 0)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:183:34: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:183:34: type stack at end of block is 1. expected 0 (module (func $type-false-f64 (block (f64.neg (br_if 0 (i32.const 0)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:188:40: type stack size too small at i32.ctz. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:188:40: type stack size too small at i32.ctz. got 0, expected at least 1 (module (func $type-true-i32 (block (i32.ctz (br_if 0 (i32.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:188:33: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:188:33: type stack at end of block is 1. expected 0 (module (func $type-true-i32 (block (i32.ctz (br_if 0 (i32.const 1)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:192:49: type mismatch at br_if condition. got i64, expected i32 + out/third_party/testsuite/br_if.wast:192:49: type mismatch at br_if condition. got i64, expected i32 (module (func $type-true-i64 (block (i64.ctz (br_if 0 (i64.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:192:40: type stack size too small at i64.ctz. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:192:40: type stack size too small at i64.ctz. got 0, expected at least 1 (module (func $type-true-i64 (block (i64.ctz (br_if 0 (i64.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:192:33: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:192:33: type stack at end of block is 1. expected 0 (module (func $type-true-i64 (block (i64.ctz (br_if 0 (i64.const 1)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:196:49: type mismatch at br_if condition. got f32, expected i32 + out/third_party/testsuite/br_if.wast:196:49: type mismatch at br_if condition. got f32, expected i32 (module (func $type-true-f32 (block (f32.neg (br_if 0 (f32.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:196:40: type stack size too small at f32.neg. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:196:40: type stack size too small at f32.neg. got 0, expected at least 1 (module (func $type-true-f32 (block (f32.neg (br_if 0 (f32.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:196:33: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:196:33: type stack at end of block is 1. expected 0 (module (func $type-true-f32 (block (f32.neg (br_if 0 (f32.const 1)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:200:49: type mismatch at br_if condition. got i64, expected i32 + out/third_party/testsuite/br_if.wast:200:49: type mismatch at br_if condition. got i64, expected i32 (module (func $type-true-f64 (block (f64.neg (br_if 0 (i64.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:200:40: type stack size too small at f64.neg. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:200:40: type stack size too small at f64.neg. got 0, expected at least 1 (module (func $type-true-f64 (block (f64.neg (br_if 0 (i64.const 1)))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:200:33: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:200:33: type stack at end of block is 1. expected 0 (module (func $type-true-f64 (block (f64.neg (br_if 0 (i64.const 1)))))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:206:17: type stack size too small at br_if value. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:206:17: type stack size too small at br_if value. got 0, expected at least 1 (block i32 (br_if 0 (i32.const 0)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:212:17: type stack size too small at br_if value. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:212:17: type stack size too small at br_if value. got 0, expected at least 1 (block i32 (br_if 0 (i32.const 1)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:218:6: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:218:6: type stack at end of block is 1. expected 0 (block (br_if 0 (i32.const 0) (i32.const 0))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:224:6: type stack at end of block is 1. expected 0 + out/third_party/testsuite/br_if.wast:224:6: type stack at end of block is 1. expected 0 (block (br_if 0 (i32.const 0) (i32.const 1))) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:231:17: type stack size too small at br_if value. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:231:17: type stack size too small at br_if value. got 0, expected at least 1 (block i32 (br_if 0 (nop) (i32.const 0)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:237:17: type stack size too small at br_if value. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:237:17: type stack size too small at br_if value. got 0, expected at least 1 (block i32 (br_if 0 (nop) (i32.const 1)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:243:23: type mismatch at br_if value. got i64, expected i32 + out/third_party/testsuite/br_if.wast:243:23: type mismatch at br_if value. got i64, expected i32 (block i32 (drop (br_if 0 (i64.const 1) (i32.const 0))) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:249:23: type mismatch at br_if value. got i64, expected i32 + out/third_party/testsuite/br_if.wast:249:23: type mismatch at br_if value. got i64, expected i32 (block i32 (drop (br_if 0 (i64.const 1) (i32.const 0))) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:256:13: type stack size too small at br_if condition. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:256:13: type stack size too small at br_if condition. got 0, expected at least 1 (block (br_if 0 (nop))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:262:13: type mismatch at br_if condition. got i64, expected i32 + out/third_party/testsuite/br_if.wast:262:13: type mismatch at br_if condition. got i64, expected i32 (block (br_if 0 (i64.const 0))) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:268:17: type stack size too small at br_if value. got 0, expected at least 1 + out/third_party/testsuite/br_if.wast:268:17: type stack size too small at br_if value. got 0, expected at least 1 (block i32 (br_if 0 (i32.const 0) (nop)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:274:17: type mismatch at br_if condition. got i64, expected i32 + out/third_party/testsuite/br_if.wast:274:17: type mismatch at br_if condition. got i64, expected i32 (block i32 (br_if 0 (i32.const 0) (i64.const 0)) (i32.const 1)) ^^^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:274:6: type stack at end of block is 2. expected 1 + out/third_party/testsuite/br_if.wast:274:6: type stack at end of block is 2. expected 1 (block i32 (br_if 0 (i32.const 0) (i64.const 0)) (i32.const 1)) ^^^^^ assert_invalid error: - third_party/testsuite/br_if.wast:280:39: label variable out of range (max 1) + out/third_party/testsuite/br_if.wast:280:39: label variable out of range (max 1) (module (func $unbound-label (br_if 1 (i32.const 1)))) ^ assert_invalid error: - third_party/testsuite/br_if.wast:284:60: label variable out of range (max 3) + out/third_party/testsuite/br_if.wast:284:60: label variable out of range (max 3) (module (func $unbound-nested-label (block (block (br_if 5 (i32.const 1)))))) ^ assert_invalid error: - third_party/testsuite/br_if.wast:288:37: label variable out of range (max 1) + out/third_party/testsuite/br_if.wast:288:37: label variable out of range (max 1) (module (func $large-label (br_if 0x10000001 (i32.const 1)))) ^^^^^^^^^^ 34/34 tests passed. diff --git a/test/spec/br_table.txt b/test/spec/br_table.txt index 828a7757..6893f922 100644 --- a/test/spec/br_table.txt +++ b/test/spec/br_table.txt @@ -2,71 +2,71 @@ ;;; STDIN_FILE: third_party/testsuite/br_table.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/br_table.wast:1386:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/br_table.wast:1386:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-arg-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1386:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/br_table.wast:1386:11: type stack at end of function is 0. expected 1 (module (func $type-arg-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1394:17: type stack size too small at br_table default target. got 0, expected at least 1 + out/third_party/testsuite/br_table.wast:1394:17: type stack size too small at br_table default target. got 0, expected at least 1 (block i32 (br_table 0 (nop) (i32.const 1)) (i32.const 1)) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table target. got i64, expected i32 + out/third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table target. got i64, expected i32 (block i32 (br_table 0 0 0 (i64.const 1) (i32.const 1)) (i32.const 1)) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table target. got i64, expected i32 + out/third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table target. got i64, expected i32 (block i32 (br_table 0 0 0 (i64.const 1) (i32.const 1)) (i32.const 1)) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table default target. got i64, expected i32 + out/third_party/testsuite/br_table.wast:1400:17: type mismatch at br_table default target. got i64, expected i32 (block i32 (br_table 0 0 0 (i64.const 1) (i32.const 1)) (i32.const 1)) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1407:13: type stack size too small at br_table key. got 0, expected at least 1 + out/third_party/testsuite/br_table.wast:1407:13: type stack size too small at br_table key. got 0, expected at least 1 (block (br_table 0 0 0 (nop))) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1413:13: type mismatch at br_table key. got i64, expected i32 + out/third_party/testsuite/br_table.wast:1413:13: type mismatch at br_table key. got i64, expected i32 (block (br_table 0 (i64.const 0))) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1419:17: type stack size too small at br_table target. got 0, expected at least 1 + out/third_party/testsuite/br_table.wast:1419:17: type stack size too small at br_table target. got 0, expected at least 1 (block i32 (br_table 0 0 (i32.const 0) (nop)) (i32.const 1)) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1419:17: type stack size too small at br_table default target. got 0, expected at least 1 + out/third_party/testsuite/br_table.wast:1419:17: type stack size too small at br_table default target. got 0, expected at least 1 (block i32 (br_table 0 0 (i32.const 0) (nop)) (i32.const 1)) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1425:17: type mismatch at br_table key. got i64, expected i32 + out/third_party/testsuite/br_table.wast:1425:17: type mismatch at br_table key. got i64, expected i32 (block i32 (br_table 0 0 (i32.const 0) (i64.const 0)) (i32.const 1)) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1432:22: label variable out of range (max 2) + out/third_party/testsuite/br_table.wast:1432:22: label variable out of range (max 2) (block (br_table 2 1 (i32.const 1))) ^ assert_invalid error: - third_party/testsuite/br_table.wast:1438:31: label variable out of range (max 3) + out/third_party/testsuite/br_table.wast:1438:31: label variable out of range (max 3) (block (block (br_table 0 5 (i32.const 1)))) ^ assert_invalid error: - third_party/testsuite/br_table.wast:1444:24: label variable out of range (max 2) + out/third_party/testsuite/br_table.wast:1444:24: label variable out of range (max 2) (block (br_table 0 0x10000001 0 (i32.const 1))) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/br_table.wast:1451:24: label variable out of range (max 2) + out/third_party/testsuite/br_table.wast:1451:24: label variable out of range (max 2) (block (br_table 1 2 (i32.const 1))) ^ assert_invalid error: - third_party/testsuite/br_table.wast:1457:31: label variable out of range (max 3) + out/third_party/testsuite/br_table.wast:1457:31: label variable out of range (max 3) (block (block (br_table 0 5 (i32.const 1)))) ^ assert_invalid error: - third_party/testsuite/br_table.wast:1463:26: label variable out of range (max 2) + out/third_party/testsuite/br_table.wast:1463:26: label variable out of range (max 2) (block (br_table 0 0 0x10000001 (i32.const 1))) ^^^^^^^^^^ 143/143 tests passed. diff --git a/test/spec/call.txt b/test/spec/call.txt index f544b38a..361836d4 100644 --- a/test/spec/call.txt +++ b/test/spec/call.txt @@ -2,67 +2,67 @@ ;;; STDIN_FILE: third_party/testsuite/call.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/call.wast:152:30: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/call.wast:152:30: type stack size too small at i32.eqz. got 0, expected at least 1 (func $type-void-vs-num (i32.eqz (call 1))) ^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:152:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call.wast:152:5: type stack at end of function is 1. expected 0 (func $type-void-vs-num (i32.eqz (call 1))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:159:29: type mismatch at i32.eqz. got i64, expected i32 + out/third_party/testsuite/call.wast:159:29: type mismatch at i32.eqz. got i64, expected i32 (func $type-num-vs-num (i32.eqz (call 1))) ^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:159:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call.wast:159:5: type stack at end of function is 1. expected 0 (func $type-num-vs-num (i32.eqz (call 1))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:167:26: type stack size too small at call. got 0, expected at least 1 + out/third_party/testsuite/call.wast:167:26: type stack size too small at call. got 0, expected at least 1 (func $arity-0-vs-1 (call 1)) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:174:26: type stack size too small at call. got 0, expected at least 2 + out/third_party/testsuite/call.wast:174:26: type stack size too small at call. got 0, expected at least 2 (func $arity-0-vs-2 (call 1)) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:181:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call.wast:181:5: type stack at end of function is 1. expected 0 (func $arity-1-vs-0 (call 1 (i32.const 1))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:188:5: type stack at end of function is 2. expected 0 + out/third_party/testsuite/call.wast:188:5: type stack at end of function is 2. expected 0 (func $arity-2-vs-0 (call 1 (f64.const 2) (i32.const 1))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:196:36: type stack size too small at call. got 1, expected at least 2 + out/third_party/testsuite/call.wast:196:36: type stack size too small at call. got 1, expected at least 2 (func $type-first-void-vs-num (call 1 (nop) (i32.const 1))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:203:37: type stack size too small at call. got 1, expected at least 2 + out/third_party/testsuite/call.wast:203:37: type stack size too small at call. got 1, expected at least 2 (func $type-second-void-vs-num (call 1 (i32.const 1) (nop))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:210:35: type mismatch for argument 0 of call. got f64, expected i32 + out/third_party/testsuite/call.wast:210:35: type mismatch for argument 0 of call. got f64, expected i32 (func $type-first-num-vs-num (call 1 (f64.const 1) (i32.const 1))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:210:35: type mismatch for argument 1 of call. got i32, expected f64 + out/third_party/testsuite/call.wast:210:35: type mismatch for argument 1 of call. got i32, expected f64 (func $type-first-num-vs-num (call 1 (f64.const 1) (i32.const 1))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:217:36: type mismatch for argument 0 of call. got i32, expected f64 + out/third_party/testsuite/call.wast:217:36: type mismatch for argument 0 of call. got i32, expected f64 (func $type-second-num-vs-num (call 1 (i32.const 1) (f64.const 1))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:217:36: type mismatch for argument 1 of call. got f64, expected i32 + out/third_party/testsuite/call.wast:217:36: type mismatch for argument 1 of call. got f64, expected i32 (func $type-second-num-vs-num (call 1 (i32.const 1) (f64.const 1))) ^^^^^^ assert_invalid error: - third_party/testsuite/call.wast:227:37: function variable out of range (max 1) + out/third_party/testsuite/call.wast:227:37: function variable out of range (max 1) (module (func $unbound-func (call 1))) ^ assert_invalid error: - third_party/testsuite/call.wast:231:35: function variable out of range (max 1) + out/third_party/testsuite/call.wast:231:35: function variable out of range (max 1) (module (func $large-func (call 1012321300))) ^^^^^^^^^^ 35/35 tests passed. diff --git a/test/spec/call_indirect.txt b/test/spec/call_indirect.txt index 4778111a..8f09378f 100644 --- a/test/spec/call_indirect.txt +++ b/test/spec/call_indirect.txt @@ -2,87 +2,87 @@ ;;; STDIN_FILE: third_party/testsuite/call_indirect.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/call_indirect.wast:231:22: found call_indirect operator, but no table + out/third_party/testsuite/call_indirect.wast:231:22: found call_indirect operator, but no table (func $no-table (call_indirect 0 (i32.const 0))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:240:30: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/call_indirect.wast:240:30: type stack size too small at i32.eqz. got 0, expected at least 1 (func $type-void-vs-num (i32.eqz (call_indirect 0 (i32.const 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:240:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call_indirect.wast:240:5: type stack at end of function is 1. expected 0 (func $type-void-vs-num (i32.eqz (call_indirect 0 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:248:29: type mismatch at i32.eqz. got i64, expected i32 + out/third_party/testsuite/call_indirect.wast:248:29: type mismatch at i32.eqz. got i64, expected i32 (func $type-num-vs-num (i32.eqz (call_indirect 0 (i32.const 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:248:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call_indirect.wast:248:5: type stack at end of function is 1. expected 0 (func $type-num-vs-num (i32.eqz (call_indirect 0 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:257:26: type stack size too small at call_indirect. got 0, expected at least 1 + out/third_party/testsuite/call_indirect.wast:257:26: type stack size too small at call_indirect. got 0, expected at least 1 (func $arity-0-vs-1 (call_indirect 0 (i32.const 0))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:265:26: type stack size too small at call_indirect. got 0, expected at least 2 + out/third_party/testsuite/call_indirect.wast:265:26: type stack size too small at call_indirect. got 0, expected at least 2 (func $arity-0-vs-2 (call_indirect 0 (i32.const 0))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:273:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call_indirect.wast:273:5: type stack at end of function is 1. expected 0 (func $arity-1-vs-0 (call_indirect 0 (i32.const 1) (i32.const 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:281:5: type stack at end of function is 2. expected 0 + out/third_party/testsuite/call_indirect.wast:281:5: type stack at end of function is 2. expected 0 (func $arity-2-vs-0 ^ assert_invalid error: - third_party/testsuite/call_indirect.wast:292:35: type stack size too small at call_indirect. got 0, expected at least 1 + out/third_party/testsuite/call_indirect.wast:292:35: type stack size too small at call_indirect. got 0, expected at least 1 (func $type-func-void-vs-i32 (call_indirect 0 (i32.const 1) (nop))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:300:34: type mismatch at call_indirect function index. got i64, expected i32 + out/third_party/testsuite/call_indirect.wast:300:34: type mismatch at call_indirect function index. got i64, expected i32 (func $type-func-num-vs-i32 (call_indirect 0 (i32.const 0) (i64.const 1))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:310:8: type stack size too small at call_indirect. got 1, expected at least 2 + out/third_party/testsuite/call_indirect.wast:310:8: type stack size too small at call_indirect. got 1, expected at least 2 (call_indirect 0 (nop) (i32.const 1) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:320:8: type stack size too small at call_indirect. got 1, expected at least 2 + out/third_party/testsuite/call_indirect.wast:320:8: type stack size too small at call_indirect. got 1, expected at least 2 (call_indirect 0 (i32.const 1) (nop) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:330:8: type mismatch for argument 0 of call_indirect. got f64, expected i32 + out/third_party/testsuite/call_indirect.wast:330:8: type mismatch for argument 0 of call_indirect. got f64, expected i32 (call_indirect 0 (f64.const 1) (i32.const 1) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:330:8: type mismatch for argument 1 of call_indirect. got i32, expected f64 + out/third_party/testsuite/call_indirect.wast:330:8: type mismatch for argument 1 of call_indirect. got i32, expected f64 (call_indirect 0 (f64.const 1) (i32.const 1) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:340:8: type mismatch for argument 0 of call_indirect. got i32, expected f64 + out/third_party/testsuite/call_indirect.wast:340:8: type mismatch for argument 0 of call_indirect. got i32, expected f64 (call_indirect 0 (i32.const 1) (f64.const 1) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:340:8: type mismatch for argument 1 of call_indirect. got f64, expected i32 + out/third_party/testsuite/call_indirect.wast:340:8: type mismatch for argument 1 of call_indirect. got f64, expected i32 (call_indirect 0 (i32.const 1) (f64.const 1) (i32.const 0)) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:352:40: function type variable out of range (max 1) + out/third_party/testsuite/call_indirect.wast:352:40: function type variable out of range (max 1) (func $unbound-type (call_indirect 1 (i32.const 0))) ^ assert_invalid error: - third_party/testsuite/call_indirect.wast:352:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call_indirect.wast:352:5: type stack at end of function is 1. expected 0 (func $unbound-type (call_indirect 1 (i32.const 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:359:38: function type variable out of range (max 1) + out/third_party/testsuite/call_indirect.wast:359:38: function type variable out of range (max 1) (func $large-type (call_indirect 1012321300 (i32.const 0))) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/call_indirect.wast:359:5: type stack at end of function is 1. expected 0 + out/third_party/testsuite/call_indirect.wast:359:5: type stack at end of function is 1. expected 0 (func $large-type (call_indirect 1012321300 (i32.const 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 48/48 tests passed. diff --git a/test/spec/custom_section.txt b/test/spec/custom_section.txt index f5c7be36..13ba3f1e 100644 --- a/test/spec/custom_section.txt +++ b/test/spec/custom_section.txt @@ -2,28 +2,28 @@ ;;; STDIN_FILE: third_party/testsuite/custom_section.wast (;; STDOUT ;;; assert_malformed error: - third_party/testsuite/custom_section.wast:58:4: error in binary module: @0x0000000a: unable to read u32 leb128: string length + out/third_party/testsuite/custom_section.wast:58:4: error in binary module: @0x0000000a: unable to read u32 leb128: string length (module ^^^^^^ assert_malformed error: - third_party/testsuite/custom_section.wast:66:4: error in binary module: @0x0000000a: invalid section size: extends past end + out/third_party/testsuite/custom_section.wast:66:4: error in binary module: @0x0000000a: invalid section size: extends past end (module ^^^^^^ assert_malformed error: - third_party/testsuite/custom_section.wast:74:4: error in binary module: @0x00000031: invalid section code: 36; max is 11 + out/third_party/testsuite/custom_section.wast:74:4: error in binary module: @0x00000031: invalid section code: 36; max is 11 (module ^^^^^^ assert_malformed error: - third_party/testsuite/custom_section.wast:83:4: error in binary module: @0x0000003e: function signature count != function body count + out/third_party/testsuite/custom_section.wast:83:4: error in binary module: @0x0000003e: function signature count != function body count (module ^^^^^^ -third_party/testsuite/custom_section.wast:58: assert_malformed passed: +out/third_party/testsuite/custom_section.wast:58: assert_malformed passed: error: @0x0000000a: unable to read u32 leb128: string length -third_party/testsuite/custom_section.wast:66: assert_malformed passed: +out/third_party/testsuite/custom_section.wast:66: assert_malformed passed: error: @0x0000000a: invalid section size: extends past end -third_party/testsuite/custom_section.wast:74: assert_malformed passed: +out/third_party/testsuite/custom_section.wast:74: assert_malformed passed: error: @0x00000031: invalid section code: 36; max is 11 -third_party/testsuite/custom_section.wast:83: assert_malformed passed: +out/third_party/testsuite/custom_section.wast:83: assert_malformed passed: error: @0x0000003e: function signature count != function body count 4/4 tests passed. ;;; STDOUT ;;) diff --git a/test/spec/exports.txt b/test/spec/exports.txt index 0c6182df..034b6c23 100644 --- a/test/spec/exports.txt +++ b/test/spec/exports.txt @@ -2,91 +2,91 @@ ;;; STDIN_FILE: third_party/testsuite/exports.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/exports.wast:27:36: function variable out of range (max 1) + out/third_party/testsuite/exports.wast:27:36: function variable out of range (max 1) (module (func) (export "a" (func 1))) ^ assert_invalid error: - third_party/testsuite/exports.wast:31:40: redefinition of export "a" + out/third_party/testsuite/exports.wast:31:40: redefinition of export "a" (module (func) (export "a" (func 0)) (export "a" (func 0))) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:35:47: redefinition of export "a" + out/third_party/testsuite/exports.wast:35:47: redefinition of export "a" (module (func) (func) (export "a" (func 0)) (export "a" (func 1))) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:39:67: redefinition of export "a" + out/third_party/testsuite/exports.wast:39:67: redefinition of export "a" ...nc) (global i32 (i32.const 0)) (export "a" (func 0)) (export "a" (global 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:43:58: redefinition of export "a" + out/third_party/testsuite/exports.wast:43:58: redefinition of export "a" (module (func) (table 0 anyfunc) (export "a" (func 0)) (export "a" (table 0))) ^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:47:51: redefinition of export "a" + out/third_party/testsuite/exports.wast:47:51: redefinition of export "a" (module (func) (memory 0) (export "a" (func 0)) (export "a" (memory 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:76:58: global variable out of range (max 1) + out/third_party/testsuite/exports.wast:76:58: global variable out of range (max 1) (module (global i32 (i32.const 0)) (export "a" (global 1))) ^ assert_invalid error: - third_party/testsuite/exports.wast:80:62: redefinition of export "a" + out/third_party/testsuite/exports.wast:80:62: redefinition of export "a" ...e (global i32 (i32.const 0)) (export "a" (global 0)) (export "a" (global 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:84:89: redefinition of export "a" + out/third_party/testsuite/exports.wast:84:89: redefinition of export "a" ...) (global i32 (i32.const 0)) (export "a" (global 0)) (export "a" (global 1))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:88:69: redefinition of export "a" + out/third_party/testsuite/exports.wast:88:69: redefinition of export "a" ...obal i32 (i32.const 0)) (func) (export "a" (global 0)) (export "a" (func 0))) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:92:80: redefinition of export "a" + out/third_party/testsuite/exports.wast:92:80: redefinition of export "a" ...2.const 0)) (table 0 anyfunc) (export "a" (global 0)) (export "a" (table 0))) ^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:96:73: redefinition of export "a" + out/third_party/testsuite/exports.wast:96:73: redefinition of export "a" ...32 (i32.const 0)) (memory 0) (export "a" (global 0)) (export "a" (memory 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:124:48: table variable out of range (max 1) + out/third_party/testsuite/exports.wast:124:48: table variable out of range (max 1) (module (table 0 anyfunc) (export "a" (table 1))) ^ assert_invalid error: - third_party/testsuite/exports.wast:128:52: redefinition of export "a" + out/third_party/testsuite/exports.wast:128:52: redefinition of export "a" (module (table 0 anyfunc) (export "a" (table 0)) (export "a" (table 0))) ^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:137:59: redefinition of export "a" + out/third_party/testsuite/exports.wast:137:59: redefinition of export "a" (module (table 0 anyfunc) (func) (export "a" (table 0)) (export "a" (func 0))) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:141:79: redefinition of export "a" + out/third_party/testsuite/exports.wast:141:79: redefinition of export "a" ...c) (global i32 (i32.const 0)) (export "a" (table 0)) (export "a" (global 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:145:63: redefinition of export "a" + out/third_party/testsuite/exports.wast:145:63: redefinition of export "a" ... (table 0 anyfunc) (memory 0) (export "a" (table 0)) (export "a" (memory 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:173:42: memory variable out of range (max 1) + out/third_party/testsuite/exports.wast:173:42: memory variable out of range (max 1) (module (memory 0) (export "a" (memory 1))) ^ assert_invalid error: - third_party/testsuite/exports.wast:177:46: redefinition of export "a" + out/third_party/testsuite/exports.wast:177:46: redefinition of export "a" (module (memory 0) (export "a" (memory 0)) (export "a" (memory 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:186:53: redefinition of export "a" + out/third_party/testsuite/exports.wast:186:53: redefinition of export "a" (module (memory 0) (func) (export "a" (memory 0)) (export "a" (func 0))) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:190:73: redefinition of export "a" + out/third_party/testsuite/exports.wast:190:73: redefinition of export "a" ...) (global i32 (i32.const 0)) (export "a" (memory 0)) (export "a" (global 0))) ^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/exports.wast:194:64: redefinition of export "a" + out/third_party/testsuite/exports.wast:194:64: redefinition of export "a" ... (memory 0) (table 0 anyfunc) (export "a" (memory 0)) (export "a" (table 0))) ^^^^^^^^^^^^^^^^^^^^^^ 6/6 tests passed. diff --git a/test/spec/f32.load32.fail.txt b/test/spec/f32.load32.fail.txt index e85524fd..44436d9e 100644 --- a/test/spec/f32.load32.fail.txt +++ b/test/spec/f32.load32.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f32.load32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f32.load32.fail.wast:1:52: unexpected token "f32.load32" +out/third_party/testsuite/f32.load32.fail.wast:1:52: unexpected token "f32.load32" (module (memory 1) (func (param i32) (result f32) (f32.load32 (get_local 0)))) ^^^^^^^^^^ -third_party/testsuite/f32.load32.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f32.load32.fail.wast:1:63: syntax error, unexpected ( (module (memory 1) (func (param i32) (result f32) (f32.load32 (get_local 0)))) ^ diff --git a/test/spec/f32.load64.fail.txt b/test/spec/f32.load64.fail.txt index 5d925bcb..e3ce0409 100644 --- a/test/spec/f32.load64.fail.txt +++ b/test/spec/f32.load64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f32.load64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f32.load64.fail.wast:1:52: unexpected token "f32.load64" +out/third_party/testsuite/f32.load64.fail.wast:1:52: unexpected token "f32.load64" (module (memory 1) (func (param i32) (result f32) (f32.load64 (get_local 0)))) ^^^^^^^^^^ -third_party/testsuite/f32.load64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f32.load64.fail.wast:1:63: syntax error, unexpected ( (module (memory 1) (func (param i32) (result f32) (f32.load64 (get_local 0)))) ^ diff --git a/test/spec/f32.store32.fail.txt b/test/spec/f32.store32.fail.txt index 1417072c..901ca1d4 100644 --- a/test/spec/f32.store32.fail.txt +++ b/test/spec/f32.store32.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f32.store32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f32.store32.fail.wast:1:51: unexpected token "f32.store32" +out/third_party/testsuite/f32.store32.fail.wast:1:51: unexpected token "f32.store32" ... 1) (func (param i32) (param f32) (f32.store32 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/f32.store32.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f32.store32.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param f32) (f32.store32 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/f32.store64.fail.txt b/test/spec/f32.store64.fail.txt index 0c35819d..fd5cf189 100644 --- a/test/spec/f32.store64.fail.txt +++ b/test/spec/f32.store64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f32.store64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f32.store64.fail.wast:1:51: unexpected token "f32.store64" +out/third_party/testsuite/f32.store64.fail.wast:1:51: unexpected token "f32.store64" ... 1) (func (param i32) (param f64) (f32.store64 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/f32.store64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f32.store64.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param f64) (f32.store64 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/f64.load32.fail.txt b/test/spec/f64.load32.fail.txt index 85cf1f5b..c357c68f 100644 --- a/test/spec/f64.load32.fail.txt +++ b/test/spec/f64.load32.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f64.load32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f64.load32.fail.wast:1:52: unexpected token "f64.load32" +out/third_party/testsuite/f64.load32.fail.wast:1:52: unexpected token "f64.load32" (module (memory 1) (func (param i32) (result f64) (f64.load32 (get_local 0)))) ^^^^^^^^^^ -third_party/testsuite/f64.load32.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f64.load32.fail.wast:1:63: syntax error, unexpected ( (module (memory 1) (func (param i32) (result f64) (f64.load32 (get_local 0)))) ^ diff --git a/test/spec/f64.load64.fail.txt b/test/spec/f64.load64.fail.txt index 45f7458a..a7a17399 100644 --- a/test/spec/f64.load64.fail.txt +++ b/test/spec/f64.load64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f64.load64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f64.load64.fail.wast:1:52: unexpected token "f64.load64" +out/third_party/testsuite/f64.load64.fail.wast:1:52: unexpected token "f64.load64" (module (memory 1) (func (param i32) (result f64) (f64.load64 (get_local 0)))) ^^^^^^^^^^ -third_party/testsuite/f64.load64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f64.load64.fail.wast:1:63: syntax error, unexpected ( (module (memory 1) (func (param i32) (result f64) (f64.load64 (get_local 0)))) ^ diff --git a/test/spec/f64.store32.fail.txt b/test/spec/f64.store32.fail.txt index e12a15ee..6ea577a6 100644 --- a/test/spec/f64.store32.fail.txt +++ b/test/spec/f64.store32.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f64.store32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f64.store32.fail.wast:1:51: unexpected token "f64.store32" +out/third_party/testsuite/f64.store32.fail.wast:1:51: unexpected token "f64.store32" ... 1) (func (param i32) (param f32) (f64.store32 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/f64.store32.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f64.store32.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param f32) (f64.store32 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/f64.store64.fail.txt b/test/spec/f64.store64.fail.txt index 614c6664..d6768462 100644 --- a/test/spec/f64.store64.fail.txt +++ b/test/spec/f64.store64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/f64.store64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/f64.store64.fail.wast:1:51: unexpected token "f64.store64" +out/third_party/testsuite/f64.store64.fail.wast:1:51: unexpected token "f64.store64" ... 1) (func (param i32) (param f64) (f64.store64 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/f64.store64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/f64.store64.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param f64) (f64.store64 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/func-local-after-body.fail.txt b/test/spec/func-local-after-body.fail.txt index 76a9c997..1d6e813d 100644 --- a/test/spec/func-local-after-body.fail.txt +++ b/test/spec/func-local-after-body.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-local-after-body.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-local-after-body.fail.wast:1:22: syntax error, unexpected LOCAL +out/third_party/testsuite/func-local-after-body.fail.wast:1:22: syntax error, unexpected LOCAL (module (func (nop) (local i32))) ^^^^^ diff --git a/test/spec/func-local-before-param.fail.txt b/test/spec/func-local-before-param.fail.txt index 9ab8667d..5edcf9ce 100644 --- a/test/spec/func-local-before-param.fail.txt +++ b/test/spec/func-local-before-param.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-local-before-param.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-local-before-param.fail.wast:1:28: syntax error, unexpected PARAM +out/third_party/testsuite/func-local-before-param.fail.wast:1:28: syntax error, unexpected PARAM (module (func (local i32) (param i32))) ^^^^^ diff --git a/test/spec/func-local-before-result.fail.txt b/test/spec/func-local-before-result.fail.txt index 4888e0b2..0af98820 100644 --- a/test/spec/func-local-before-result.fail.txt +++ b/test/spec/func-local-before-result.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-local-before-result.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-local-before-result.fail.wast:1:28: syntax error, unexpected RESULT +out/third_party/testsuite/func-local-before-result.fail.wast:1:28: syntax error, unexpected RESULT (module (func (local i32) (result i32) (get_local 0))) ^^^^^^ diff --git a/test/spec/func-param-after-body.fail.txt b/test/spec/func-param-after-body.fail.txt index c4d24809..5f4f5f81 100644 --- a/test/spec/func-param-after-body.fail.txt +++ b/test/spec/func-param-after-body.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-param-after-body.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-param-after-body.fail.wast:1:22: syntax error, unexpected PARAM +out/third_party/testsuite/func-param-after-body.fail.wast:1:22: syntax error, unexpected PARAM (module (func (nop) (param i32))) ^^^^^ diff --git a/test/spec/func-result-after-body.fail.txt b/test/spec/func-result-after-body.fail.txt index f52888a0..cc8d0ee7 100644 --- a/test/spec/func-result-after-body.fail.txt +++ b/test/spec/func-result-after-body.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-result-after-body.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-result-after-body.fail.wast:1:22: syntax error, unexpected RESULT +out/third_party/testsuite/func-result-after-body.fail.wast:1:22: syntax error, unexpected RESULT (module (func (nop) (result i32))) ^^^^^^ diff --git a/test/spec/func-result-before-param.fail.txt b/test/spec/func-result-before-param.fail.txt index ba3f9ddf..72a5ec62 100644 --- a/test/spec/func-result-before-param.fail.txt +++ b/test/spec/func-result-before-param.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/func-result-before-param.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/func-result-before-param.fail.wast:1:29: syntax error, unexpected PARAM +out/third_party/testsuite/func-result-before-param.fail.wast:1:29: syntax error, unexpected PARAM (module (func (result i32) (param i32) (get_local 0))) ^^^^^ diff --git a/test/spec/func.txt b/test/spec/func.txt index 7fe88dbf..a56a1f00 100644 --- a/test/spec/func.txt +++ b/test/spec/func.txt @@ -2,159 +2,159 @@ ;;; STDIN_FILE: third_party/testsuite/func.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/func.wast:315:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/func.wast:315:11: type mismatch at function. got i32, expected i64 (module (func $type-local-num-vs-num (result i64) (local i32) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:319:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/func.wast:319:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-local-num-vs-num (local f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:319:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/func.wast:319:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:323:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/func.wast:323:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-local-num-vs-num (local f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:323:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/func.wast:323:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:331:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/func.wast:331:11: type mismatch at function. got i32, expected i64 (module (func $type-param-num-vs-num (param i32) (result i64) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:335:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/func.wast:335:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:335:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/func.wast:335:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:339:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/func.wast:339:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:339:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/func.wast:339:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:347:11: multiple result values not currently supported. + out/third_party/testsuite/func.wast:347:11: multiple result values not currently supported. (module (func $type-multiple-result (result i32 i32) (unreachable))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:353:5: multiple result values not currently supported. + out/third_party/testsuite/func.wast:353:5: multiple result values not currently supported. (func $type-multiple-result (type 0) (unreachable)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:360:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/func.wast:360:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i32 (result i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:360:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/func.wast:360:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i32 (result i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:364:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/func.wast:364:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i64 (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:364:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/func.wast:364:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i64 (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:368:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/func.wast:368:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f32 (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:368:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/func.wast:368:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f32 (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:372:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/func.wast:372:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f64 (result f64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:372:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/func.wast:372:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f64 (result f64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:377:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/func.wast:377:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:377:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/func.wast:377:11: type stack at end of function is 0. expected 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:383:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/func.wast:383:11: type stack at end of function is 1. expected 0 (module (func $type-value-num-vs-void ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:389:11: type mismatch at function. got f32, expected i32 + out/third_party/testsuite/func.wast:389:11: type mismatch at function. got f32, expected i32 (module (func $type-value-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:397:6: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/func.wast:397:6: type stack size too small at return. got 0, expected at least 1 (return) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:403:6: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/func.wast:403:6: type stack size too small at return. got 0, expected at least 1 (return (nop)) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:409:6: type mismatch at return. got i64, expected i32 + out/third_party/testsuite/func.wast:409:6: type mismatch at return. got i64, expected i32 (return (i64.const 0)) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:416:6: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/func.wast:416:6: type stack size too small at return. got 0, expected at least 1 (return) (i32.const 1) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:422:6: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/func.wast:422:6: type stack size too small at return. got 0, expected at least 1 (return (nop)) (i32.const 1) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:428:6: type mismatch at return. got i64, expected i32 + out/third_party/testsuite/func.wast:428:6: type mismatch at return. got i64, expected i32 (return (i64.const 1)) (i32.const 1) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:434:6: type mismatch at return. got i64, expected i32 + out/third_party/testsuite/func.wast:434:6: type mismatch at return. got i64, expected i32 (return (i64.const 1)) (return (i32.const 1)) ^^^^^^ assert_invalid error: - third_party/testsuite/func.wast:441:6: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/func.wast:441:6: type stack size too small at br value. got 0, expected at least 1 (br 0) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:447:6: type mismatch at br value. got f32, expected i32 + out/third_party/testsuite/func.wast:447:6: type mismatch at br value. got f32, expected i32 (br 0 (f32.const 0)) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:453:6: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/func.wast:453:6: type stack size too small at br value. got 0, expected at least 1 (br 0) (i32.const 1) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:459:6: type mismatch at br value. got i64, expected i32 + out/third_party/testsuite/func.wast:459:6: type mismatch at br value. got i64, expected i32 (br 0 (i64.const 1)) (i32.const 1) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:465:6: type mismatch at br value. got i64, expected i32 + out/third_party/testsuite/func.wast:465:6: type mismatch at br value. got i64, expected i32 (br 0 (i64.const 1)) (br 0 (i32.const 1)) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:472:13: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/func.wast:472:13: type stack size too small at br value. got 0, expected at least 1 (block (br 1)) (br 0 (i32.const 1)) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:478:13: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/func.wast:478:13: type stack size too small at br value. got 0, expected at least 1 (block (br 1 (nop))) (br 0 (i32.const 1)) ^^^^ assert_invalid error: - third_party/testsuite/func.wast:484:13: type mismatch at br value. got i64, expected i32 + out/third_party/testsuite/func.wast:484:13: type mismatch at br value. got i64, expected i32 (block (br 1 (i64.const 1))) (br 0 (i32.const 1)) ^^^^ 66/66 tests passed. diff --git a/test/spec/func_ptrs.txt b/test/spec/func_ptrs.txt index 55248283..8ba810bb 100644 --- a/test/spec/func_ptrs.txt +++ b/test/spec/func_ptrs.txt @@ -2,31 +2,31 @@ ;;; STDIN_FILE: third_party/testsuite/func_ptrs.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/func_ptrs.wast:31:26: table variable out of range (max 0) + out/third_party/testsuite/func_ptrs.wast:31:26: table variable out of range (max 0) (assert_invalid (module (elem (i32.const 0))) "unknown table") ^^^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:32:26: table variable out of range (max 0) + out/third_party/testsuite/func_ptrs.wast:32:26: table variable out of range (max 0) (assert_invalid (module (elem (i32.const 0) 0) (func)) "unknown table") ^^^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:35:36: type mismatch at elem segment offset. got i64, expected i32 + out/third_party/testsuite/func_ptrs.wast:35:36: type mismatch at elem segment offset. got i64, expected i32 (module (table 1 anyfunc) (elem (i64.const 0))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:39:29: invalid elem segment offset, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/func_ptrs.wast:39:29: invalid elem segment offset, must be a constant expression; either *.const or get_global. (module (table 1 anyfunc) (elem (i32.ctz (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:43:29: invalid elem segment offset, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/func_ptrs.wast:43:29: invalid elem segment offset, must be a constant expression; either *.const or get_global. (module (table 1 anyfunc) (elem (nop))) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:47:37: function type variable out of range (max 0) + out/third_party/testsuite/func_ptrs.wast:47:37: function type variable out of range (max 0) (assert_invalid (module (func (type 42))) "unknown type") ^^ assert_invalid error: - third_party/testsuite/func_ptrs.wast:48:64: function type variable out of range (max 0) + out/third_party/testsuite/func_ptrs.wast:48:64: function type variable out of range (max 0) ...invalid (module (import "spectest" "print" (func (type 43)))) "unknown type") ^^ called host spectest.print(i32:83) => diff --git a/test/spec/get_local.txt b/test/spec/get_local.txt index 0f0f51fc..9d3038a4 100644 --- a/test/spec/get_local.txt +++ b/test/spec/get_local.txt @@ -2,67 +2,67 @@ ;;; STDIN_FILE: third_party/testsuite/get_local.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/get_local.wast:91:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/get_local.wast:91:11: type mismatch at function. got i32, expected i64 (module (func $type-local-num-vs-num (result i64) (local i32) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:95:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/get_local.wast:95:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-local-num-vs-num (local f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:95:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/get_local.wast:95:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:99:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/get_local.wast:99:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-local-num-vs-num (local f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:99:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/get_local.wast:99:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:107:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/get_local.wast:107:11: type mismatch at function. got i32, expected i64 (module (func $type-param-num-vs-num (param i32) (result i64) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:111:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/get_local.wast:111:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:111:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/get_local.wast:111:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:115:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/get_local.wast:115:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:115:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/get_local.wast:115:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:123:59: local variable out of range (max 2) + out/third_party/testsuite/get_local.wast:123:59: local variable out of range (max 2) (module (func $unbound-local (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/get_local.wast:127:57: local variable out of range (max 2) + out/third_party/testsuite/get_local.wast:127:57: local variable out of range (max 2) (module (func $large-local (local i32 i64) (get_local 14324343))) ^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:132:59: local variable out of range (max 2) + out/third_party/testsuite/get_local.wast:132:59: local variable out of range (max 2) (module (func $unbound-param (param i32 i64) (get_local 2))) ^ assert_invalid error: - third_party/testsuite/get_local.wast:136:57: local variable out of range (max 2) + out/third_party/testsuite/get_local.wast:136:57: local variable out of range (max 2) (module (func $large-param (local i32 i64) (get_local 714324343))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/get_local.wast:141:71: local variable out of range (max 3) + out/third_party/testsuite/get_local.wast:141:71: local variable out of range (max 3) (module (func $unbound-mixed (param i32) (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/get_local.wast:145:69: local variable out of range (max 3) + out/third_party/testsuite/get_local.wast:145:69: local variable out of range (max 3) (module (func $large-mixed (param i64) (local i32 i64) (get_local 214324343))) ^^^^^^^^^ 10/10 tests passed. diff --git a/test/spec/globals.txt b/test/spec/globals.txt index 489dfb8d..647092f5 100644 --- a/test/spec/globals.txt +++ b/test/spec/globals.txt @@ -2,43 +2,43 @@ ;;; STDIN_FILE: third_party/testsuite/globals.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/globals.wast:50:45: type mismatch at set_global. got i32, expected f32 + out/third_party/testsuite/globals.wast:50:45: type mismatch at set_global. got i32, expected f32 (module (global f32 (f32.const 0)) (func (set_global 0 (i32.const 1)))) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:55:11: mutable globals cannot be imported + out/third_party/testsuite/globals.wast:55:11: mutable globals cannot be imported (module (import "m" "a" (global (mut i32)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:60:11: mutable globals cannot be imported + out/third_party/testsuite/globals.wast:60:11: mutable globals cannot be imported (module (global (import "m" "a") (mut i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:65:64: mutable globals cannot be exported + out/third_party/testsuite/globals.wast:65:64: mutable globals cannot be exported (module (global (mut f32) (f32.const 0)) (export "a" (global 0))) ^ assert_invalid error: - third_party/testsuite/globals.wast:70:11: mutable globals cannot be exported + out/third_party/testsuite/globals.wast:70:11: mutable globals cannot be exported (module (global (export "a") (mut f32) (f32.const 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:75:11: invalid global initializer expression, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/globals.wast:75:11: invalid global initializer expression, must be a constant expression; either *.const or get_global. (module (global f32 (f32.neg (f32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:80:11: invalid global initializer expression, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/globals.wast:80:11: invalid global initializer expression, must be a constant expression; either *.const or get_global. (module (global f32 (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:85:24: type mismatch at global initializer expression. got f32, expected i32 + out/third_party/testsuite/globals.wast:85:24: type mismatch at global initializer expression. got f32, expected i32 (module (global i32 (f32.const 0))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:90:11: initializer expression can only reference a previously defined global + out/third_party/testsuite/globals.wast:90:11: initializer expression can only reference a previously defined global (module (global i32 (get_global 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/globals.wast:95:11: initializer expression can only reference a previously defined global + out/third_party/testsuite/globals.wast:95:11: initializer expression can only reference a previously defined global (module (global i32 (get_global 1)) (global i32 (i32.const 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16/16 tests passed. diff --git a/test/spec/i32.load32_s.fail.txt b/test/spec/i32.load32_s.fail.txt index 7df3d49b..83b9cdb9 100644 --- a/test/spec/i32.load32_s.fail.txt +++ b/test/spec/i32.load32_s.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.load32_s.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.load32_s.fail.wast:1:52: unexpected token "i32.load32_s" +out/third_party/testsuite/i32.load32_s.fail.wast:1:52: unexpected token "i32.load32_s" (module (memory 1) (func (param i32) (result i32) (i32.load32_s (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i32.load32_s.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i32.load32_s.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i32) (i32.load32_s (get_local 0)))) ^ diff --git a/test/spec/i32.load32_u.fail.txt b/test/spec/i32.load32_u.fail.txt index f74a4fa3..d9913b2c 100644 --- a/test/spec/i32.load32_u.fail.txt +++ b/test/spec/i32.load32_u.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.load32_u.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.load32_u.fail.wast:1:52: unexpected token "i32.load32_u" +out/third_party/testsuite/i32.load32_u.fail.wast:1:52: unexpected token "i32.load32_u" (module (memory 1) (func (param i32) (result i32) (i32.load32_u (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i32.load32_u.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i32.load32_u.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i32) (i32.load32_u (get_local 0)))) ^ diff --git a/test/spec/i32.load64_s.fail.txt b/test/spec/i32.load64_s.fail.txt index 9ea4e79a..709ed06b 100644 --- a/test/spec/i32.load64_s.fail.txt +++ b/test/spec/i32.load64_s.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.load64_s.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.load64_s.fail.wast:1:52: unexpected token "i32.load64_s" +out/third_party/testsuite/i32.load64_s.fail.wast:1:52: unexpected token "i32.load64_s" (module (memory 1) (func (param i32) (result i32) (i32.load64_s (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i32.load64_s.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i32.load64_s.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i32) (i32.load64_s (get_local 0)))) ^ diff --git a/test/spec/i32.load64_u.fail.txt b/test/spec/i32.load64_u.fail.txt index 68437ec0..c42b5883 100644 --- a/test/spec/i32.load64_u.fail.txt +++ b/test/spec/i32.load64_u.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.load64_u.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.load64_u.fail.wast:1:52: unexpected token "i32.load64_u" +out/third_party/testsuite/i32.load64_u.fail.wast:1:52: unexpected token "i32.load64_u" (module (memory 1) (func (param i32) (result i32) (i32.load64_u (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i32.load64_u.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i32.load64_u.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i32) (i32.load64_u (get_local 0)))) ^ diff --git a/test/spec/i32.store32.fail.txt b/test/spec/i32.store32.fail.txt index 4c3f7171..ab00df5f 100644 --- a/test/spec/i32.store32.fail.txt +++ b/test/spec/i32.store32.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.store32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.store32.fail.wast:1:51: unexpected token "i32.store32" +out/third_party/testsuite/i32.store32.fail.wast:1:51: unexpected token "i32.store32" ... 1) (func (param i32) (param i32) (i32.store32 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/i32.store32.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/i32.store32.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param i32) (i32.store32 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/i32.store64.fail.txt b/test/spec/i32.store64.fail.txt index bd794c47..7f5b14a3 100644 --- a/test/spec/i32.store64.fail.txt +++ b/test/spec/i32.store64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i32.store64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i32.store64.fail.wast:1:51: unexpected token "i32.store64" +out/third_party/testsuite/i32.store64.fail.wast:1:51: unexpected token "i32.store64" ... 1) (func (param i32) (param i64) (i32.store64 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/i32.store64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/i32.store64.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param i64) (i32.store64 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/i64.load64_s.fail.txt b/test/spec/i64.load64_s.fail.txt index 98d0a948..c4e96c5a 100644 --- a/test/spec/i64.load64_s.fail.txt +++ b/test/spec/i64.load64_s.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i64.load64_s.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i64.load64_s.fail.wast:1:52: unexpected token "i64.load64_s" +out/third_party/testsuite/i64.load64_s.fail.wast:1:52: unexpected token "i64.load64_s" (module (memory 1) (func (param i32) (result i64) (i64.load64_s (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i64.load64_s.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i64.load64_s.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i64) (i64.load64_s (get_local 0)))) ^ diff --git a/test/spec/i64.load64_u.fail.txt b/test/spec/i64.load64_u.fail.txt index 40f1a837..dbc4e4f3 100644 --- a/test/spec/i64.load64_u.fail.txt +++ b/test/spec/i64.load64_u.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i64.load64_u.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i64.load64_u.fail.wast:1:52: unexpected token "i64.load64_u" +out/third_party/testsuite/i64.load64_u.fail.wast:1:52: unexpected token "i64.load64_u" (module (memory 1) (func (param i32) (result i64) (i64.load64_u (get_local 0)))) ^^^^^^^^^^^^ -third_party/testsuite/i64.load64_u.fail.wast:1:65: syntax error, unexpected ( +out/third_party/testsuite/i64.load64_u.fail.wast:1:65: syntax error, unexpected ( (module (memory 1) (func (param i32) (result i64) (i64.load64_u (get_local 0)))) ^ diff --git a/test/spec/i64.store64.fail.txt b/test/spec/i64.store64.fail.txt index decc96e7..fe3a3859 100644 --- a/test/spec/i64.store64.fail.txt +++ b/test/spec/i64.store64.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/i64.store64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/i64.store64.fail.wast:1:51: unexpected token "i64.store64" +out/third_party/testsuite/i64.store64.fail.wast:1:51: unexpected token "i64.store64" ... 1) (func (param i32) (param i64) (i64.store64 (get_local 0) (get_local 1)))) ^^^^^^^^^^^ -third_party/testsuite/i64.store64.fail.wast:1:63: syntax error, unexpected ( +out/third_party/testsuite/i64.store64.fail.wast:1:63: syntax error, unexpected ( ... 1) (func (param i32) (param i64) (i64.store64 (get_local 0) (get_local 1)))) ^ diff --git a/test/spec/if-else-end-label-mismatch.fail.txt b/test/spec/if-else-end-label-mismatch.fail.txt index 198af4cc..cde36769 100644 --- a/test/spec/if-else-end-label-mismatch.fail.txt +++ b/test/spec/if-else-end-label-mismatch.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/if-else-end-label-mismatch.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-else-end-label-mismatch.fail.wast:1:26: mismatching label "$a" != "$l" +out/third_party/testsuite/if-else-end-label-mismatch.fail.wast:1:26: mismatching label "$a" != "$l" (module (func if $a else $l end $l)) ^^ -third_party/testsuite/if-else-end-label-mismatch.fail.wast:1:33: mismatching label "$a" != "$l" +out/third_party/testsuite/if-else-end-label-mismatch.fail.wast:1:33: mismatching label "$a" != "$l" (module (func if $a else $l end $l)) ^^ diff --git a/test/spec/if-else-end-label-superfluous.fail.txt b/test/spec/if-else-end-label-superfluous.fail.txt index e1f2bcae..6bf1b31c 100644 --- a/test/spec/if-else-end-label-superfluous.fail.txt +++ b/test/spec/if-else-end-label-superfluous.fail.txt @@ -3,10 +3,10 @@ ;;; STDIN_FILE: third_party/testsuite/if-else-end-label-superfluous.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-else-end-label-superfluous.fail.wast:1:23: unexpected label "$l" +out/third_party/testsuite/if-else-end-label-superfluous.fail.wast:1:23: unexpected label "$l" (module (func if else $l end $l)) ^^ -third_party/testsuite/if-else-end-label-superfluous.fail.wast:1:30: unexpected label "$l" +out/third_party/testsuite/if-else-end-label-superfluous.fail.wast:1:30: unexpected label "$l" (module (func if else $l end $l)) ^^ diff --git a/test/spec/if-else-label-mismatch.fail.txt b/test/spec/if-else-label-mismatch.fail.txt index e5d85b32..c3d90088 100644 --- a/test/spec/if-else-label-mismatch.fail.txt +++ b/test/spec/if-else-label-mismatch.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/if-else-label-mismatch.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-else-label-mismatch.fail.wast:1:26: mismatching label "$a" != "$l" +out/third_party/testsuite/if-else-label-mismatch.fail.wast:1:26: mismatching label "$a" != "$l" (module (func if $a else $l end)) ^^ diff --git a/test/spec/if-else-label-superfluous.fail.txt b/test/spec/if-else-label-superfluous.fail.txt index 6070d126..3d767acb 100644 --- a/test/spec/if-else-label-superfluous.fail.txt +++ b/test/spec/if-else-label-superfluous.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/if-else-label-superfluous.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-else-label-superfluous.fail.wast:1:23: unexpected label "$l" +out/third_party/testsuite/if-else-label-superfluous.fail.wast:1:23: unexpected label "$l" (module (func if else $l end)) ^^ diff --git a/test/spec/if-end-label-mismatch.fail.txt b/test/spec/if-end-label-mismatch.fail.txt index 93451bed..c01bd9e5 100644 --- a/test/spec/if-end-label-mismatch.fail.txt +++ b/test/spec/if-end-label-mismatch.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/if-end-label-mismatch.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-end-label-mismatch.fail.wast:1:25: mismatching label "$a" != "$l" +out/third_party/testsuite/if-end-label-mismatch.fail.wast:1:25: mismatching label "$a" != "$l" (module (func if $a end $l)) ^^ diff --git a/test/spec/if-end-label-superfluous.fail.txt b/test/spec/if-end-label-superfluous.fail.txt index 517cc8e1..c4e697a6 100644 --- a/test/spec/if-end-label-superfluous.fail.txt +++ b/test/spec/if-end-label-superfluous.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/if-end-label-superfluous.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/if-end-label-superfluous.fail.wast:1:22: unexpected label "$l" +out/third_party/testsuite/if-end-label-superfluous.fail.wast:1:22: unexpected label "$l" (module (func if end $l)) ^^ diff --git a/test/spec/import-after-func.fail.txt b/test/spec/import-after-func.fail.txt index f934f185..d3017f8f 100644 --- a/test/spec/import-after-func.fail.txt +++ b/test/spec/import-after-func.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/import-after-func.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/import-after-func.fail.wast:1:16: imports must occur before all non-import definitions +out/third_party/testsuite/import-after-func.fail.wast:1:16: imports must occur before all non-import definitions (module (func) (import "" "" (memory 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/import-after-global.fail.txt b/test/spec/import-after-global.fail.txt index c4926387..29bb218b 100644 --- a/test/spec/import-after-global.fail.txt +++ b/test/spec/import-after-global.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/import-after-global.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/import-after-global.fail.wast:1:22: imports must occur before all non-import definitions +out/third_party/testsuite/import-after-global.fail.wast:1:22: imports must occur before all non-import definitions (module (global i64) (import "" "" (table 0 anyfunc))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/import-after-memory.fail.txt b/test/spec/import-after-memory.fail.txt index b41c2afd..3cc6a184 100644 --- a/test/spec/import-after-memory.fail.txt +++ b/test/spec/import-after-memory.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/import-after-memory.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/import-after-memory.fail.wast:1:20: imports must occur before all non-import definitions +out/third_party/testsuite/import-after-memory.fail.wast:1:20: imports must occur before all non-import definitions (module (memory 0) (import "" "" (global i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/import-after-table.fail.txt b/test/spec/import-after-table.fail.txt index c225b4de..e59153c4 100644 --- a/test/spec/import-after-table.fail.txt +++ b/test/spec/import-after-table.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/import-after-table.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/import-after-table.fail.wast:1:27: imports must occur before all non-import definitions +out/third_party/testsuite/import-after-table.fail.wast:1:27: imports must occur before all non-import definitions (module (table 0 anyfunc) (import "" "" (func))) ^^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/imports.txt b/test/spec/imports.txt index 55552b52..843fa52a 100644 --- a/test/spec/imports.txt +++ b/test/spec/imports.txt @@ -2,27 +2,27 @@ ;;; STDIN_FILE: third_party/testsuite/imports.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/imports.wast:284:45: only one table allowed + out/third_party/testsuite/imports.wast:284:45: only one table allowed (module (import "" "" (table 10 anyfunc)) (import "" "" (table 10 anyfunc))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/imports.wast:288:45: only one table allowed + out/third_party/testsuite/imports.wast:288:45: only one table allowed (module (import "" "" (table 10 anyfunc)) (table 10 anyfunc)) ^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/imports.wast:292:30: only one table allowed + out/third_party/testsuite/imports.wast:292:30: only one table allowed (module (table 10 anyfunc) (table 10 anyfunc)) ^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/imports.wast:379:37: only one memory block allowed + out/third_party/testsuite/imports.wast:379:37: only one memory block allowed (module (import "" "" (memory 1)) (import "" "" (memory 1))) ^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/imports.wast:383:37: only one memory block allowed + out/third_party/testsuite/imports.wast:383:37: only one memory block allowed (module (import "" "" (memory 1)) (memory 0)) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/imports.wast:387:22: only one memory block allowed + out/third_party/testsuite/imports.wast:387:22: only one memory block allowed (module (memory 0) (memory 0)) ^^^^^^^^^^ called host spectest.print(i32:13) => @@ -36,172 +36,172 @@ called host spectest.print(f64:25, f64:53) => called host spectest.print(f64:24) => called host spectest.print(f64:24) => called host spectest.print(f64:24) => -third_party/testsuite/imports.wast:86: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:86: assert_unlinkable passed: error: unknown module field "unknown" error: @0x0000001e: on_import callback failed -third_party/testsuite/imports.wast:90: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:90: assert_unlinkable passed: error: unknown host function import "spectest.unknown" error: @0x00000024: on_import_func callback failed -third_party/testsuite/imports.wast:95: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:95: assert_unlinkable passed: error: import signature mismatch error: @0x0000001e: on_import_func callback failed -third_party/testsuite/imports.wast:99: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:99: assert_unlinkable passed: error: import signature mismatch error: @0x0000001e: on_import_func callback failed -third_party/testsuite/imports.wast:103: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:103: assert_unlinkable passed: error: import signature mismatch error: @0x0000001f: on_import_func callback failed -third_party/testsuite/imports.wast:107: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:107: assert_unlinkable passed: error: import signature mismatch error: @0x00000021: on_import_func callback failed -third_party/testsuite/imports.wast:111: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:111: assert_unlinkable passed: error: import signature mismatch error: @0x00000022: on_import_func callback failed -third_party/testsuite/imports.wast:115: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:115: assert_unlinkable passed: error: import signature mismatch error: @0x00000022: on_import_func callback failed -third_party/testsuite/imports.wast:119: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:119: assert_unlinkable passed: error: import signature mismatch error: @0x00000022: on_import_func callback failed -third_party/testsuite/imports.wast:123: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:123: assert_unlinkable passed: error: import signature mismatch error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:127: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:127: assert_unlinkable passed: error: import signature mismatch error: @0x00000022: on_import_func callback failed -third_party/testsuite/imports.wast:131: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:131: assert_unlinkable passed: error: import signature mismatch error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:135: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:135: assert_unlinkable passed: error: import signature mismatch error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:139: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:139: assert_unlinkable passed: error: import signature mismatch error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:143: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:143: assert_unlinkable passed: error: import signature mismatch error: @0x00000024: on_import_func callback failed -third_party/testsuite/imports.wast:147: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:147: assert_unlinkable passed: error: import signature mismatch error: @0x00000026: on_import_func callback failed -third_party/testsuite/imports.wast:151: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:151: assert_unlinkable passed: error: import signature mismatch error: @0x00000027: on_import_func callback failed -third_party/testsuite/imports.wast:155: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:155: assert_unlinkable passed: error: import signature mismatch error: @0x00000027: on_import_func callback failed -third_party/testsuite/imports.wast:160: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:160: assert_unlinkable passed: error: expected import "test.global-i32" to have kind func, not global error: @0x00000024: on_import_func callback failed -third_party/testsuite/imports.wast:164: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:164: assert_unlinkable passed: error: expected import "test.table-10-inf" to have kind func, not table error: @0x00000025: on_import_func callback failed -third_party/testsuite/imports.wast:168: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:168: assert_unlinkable passed: error: expected import "test.memory-2-inf" to have kind func, not memory error: @0x00000025: on_import_func callback failed -third_party/testsuite/imports.wast:172: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:172: assert_unlinkable passed: error: unknown host function import "spectest.global" error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:176: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:176: assert_unlinkable passed: error: unknown host function import "spectest.table" error: @0x00000022: on_import_func callback failed -third_party/testsuite/imports.wast:180: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:180: assert_unlinkable passed: error: unknown host function import "spectest.memory" error: @0x00000023: on_import_func callback failed -third_party/testsuite/imports.wast:213: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:213: assert_unlinkable passed: error: unknown module field "unknown" error: @0x00000018: on_import callback failed -third_party/testsuite/imports.wast:217: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:217: assert_unlinkable passed: error: unknown host global import "spectest.unknown" error: @0x0000001f: on_import_global callback failed -third_party/testsuite/imports.wast:222: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:222: assert_unlinkable passed: error: expected import "test.func" to have kind global, not func error: @0x00000018: on_import_global callback failed -third_party/testsuite/imports.wast:226: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:226: assert_unlinkable passed: error: expected import "test.table-10-inf" to have kind global, not table error: @0x00000020: on_import_global callback failed -third_party/testsuite/imports.wast:230: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:230: assert_unlinkable passed: error: expected import "test.memory-2-inf" to have kind global, not memory error: @0x00000020: on_import_global callback failed -third_party/testsuite/imports.wast:234: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:234: assert_unlinkable passed: error: unknown host global import "spectest.print" error: @0x0000001d: on_import_global callback failed -third_party/testsuite/imports.wast:238: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:238: assert_unlinkable passed: error: unknown host global import "spectest.table" error: @0x0000001d: on_import_global callback failed -third_party/testsuite/imports.wast:242: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:242: assert_unlinkable passed: error: unknown host global import "spectest.memory" error: @0x0000001e: on_import_global callback failed -third_party/testsuite/imports.wast:309: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:309: assert_unlinkable passed: error: unknown module field "unknown" error: @0x00000018: on_import callback failed -third_party/testsuite/imports.wast:313: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:313: assert_unlinkable passed: error: unknown host table import "spectest.unknown" error: @0x00000020: on_import_table callback failed -third_party/testsuite/imports.wast:318: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:318: assert_unlinkable passed: error: actual size (10) smaller than declared (12) error: @0x00000021: on_import_table callback failed -third_party/testsuite/imports.wast:322: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:322: assert_unlinkable passed: error: max size (unspecified) larger than declared (20) error: @0x00000022: on_import_table callback failed -third_party/testsuite/imports.wast:326: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:326: assert_unlinkable passed: error: actual size (10) smaller than declared (12) error: @0x0000001e: on_import_table callback failed -third_party/testsuite/imports.wast:330: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:330: assert_unlinkable passed: error: max size (20) larger than declared (15) error: @0x0000001f: on_import_table callback failed -third_party/testsuite/imports.wast:335: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:335: assert_unlinkable passed: error: expected import "test.func" to have kind table, not func error: @0x00000019: on_import_table callback failed -third_party/testsuite/imports.wast:339: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:339: assert_unlinkable passed: error: expected import "test.global-i32" to have kind table, not global error: @0x0000001f: on_import_table callback failed -third_party/testsuite/imports.wast:343: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:343: assert_unlinkable passed: error: expected import "test.memory-2-inf" to have kind table, not memory error: @0x00000021: on_import_table callback failed -third_party/testsuite/imports.wast:347: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:347: assert_unlinkable passed: error: unknown host table import "spectest.print" error: @0x0000001e: on_import_table callback failed -third_party/testsuite/imports.wast:402: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:402: assert_unlinkable passed: error: unknown module field "unknown" error: @0x00000018: on_import callback failed -third_party/testsuite/imports.wast:406: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:406: assert_unlinkable passed: error: unknown host memory import "spectest.unknown" error: @0x0000001f: on_import_memory callback failed -third_party/testsuite/imports.wast:411: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:411: assert_unlinkable passed: error: actual size (2) smaller than declared (3) error: @0x00000020: on_import_memory callback failed -third_party/testsuite/imports.wast:415: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:415: assert_unlinkable passed: error: max size (unspecified) larger than declared (3) error: @0x00000021: on_import_memory callback failed -third_party/testsuite/imports.wast:419: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:419: assert_unlinkable passed: error: actual size (1) smaller than declared (2) error: @0x0000001e: on_import_memory callback failed -third_party/testsuite/imports.wast:423: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:423: assert_unlinkable passed: error: max size (2) larger than declared (1) error: @0x0000001f: on_import_memory callback failed -third_party/testsuite/imports.wast:428: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:428: assert_unlinkable passed: error: expected import "test.func-i32" to have kind memory, not func error: @0x0000001c: on_import_memory callback failed -third_party/testsuite/imports.wast:432: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:432: assert_unlinkable passed: error: expected import "test.global-i32" to have kind memory, not global error: @0x0000001e: on_import_memory callback failed -third_party/testsuite/imports.wast:436: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:436: assert_unlinkable passed: error: expected import "test.table-10-inf" to have kind memory, not table error: @0x00000020: on_import_memory callback failed -third_party/testsuite/imports.wast:440: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:440: assert_unlinkable passed: error: unknown host memory import "spectest.print" error: @0x0000001d: on_import_memory callback failed -third_party/testsuite/imports.wast:444: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:444: assert_unlinkable passed: error: unknown host memory import "spectest.global" error: @0x0000001e: on_import_memory callback failed -third_party/testsuite/imports.wast:448: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:448: assert_unlinkable passed: error: unknown host memory import "spectest.table" error: @0x0000001d: on_import_memory callback failed -third_party/testsuite/imports.wast:453: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:453: assert_unlinkable passed: error: actual size (1) smaller than declared (2) error: @0x0000001e: on_import_memory callback failed -third_party/testsuite/imports.wast:457: assert_unlinkable passed: +out/third_party/testsuite/imports.wast:457: assert_unlinkable passed: error: max size (2) larger than declared (1) error: @0x0000001f: on_import_memory callback failed 85/85 tests passed. diff --git a/test/spec/labels.txt b/test/spec/labels.txt index 83961ae4..577eaf84 100644 --- a/test/spec/labels.txt +++ b/test/spec/labels.txt @@ -2,19 +2,19 @@ ;;; STDIN_FILE: third_party/testsuite/labels.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/labels.wast:298:28: type stack size too small at f32.neg. got 0, expected at least 1 + out/third_party/testsuite/labels.wast:298:28: type stack size too small at f32.neg. got 0, expected at least 1 (module (func (block $l (f32.neg (br_if $l (i32.const 1))) (nop)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/labels.wast:298:18: type stack at end of block is 1. expected 0 + out/third_party/testsuite/labels.wast:298:18: type stack at end of block is 1. expected 0 (module (func (block $l (f32.neg (br_if $l (i32.const 1))) (nop)))) ^^^^^ assert_invalid error: - third_party/testsuite/labels.wast:302:18: type stack at end of block is 1. expected 0 + out/third_party/testsuite/labels.wast:302:18: type stack at end of block is 1. expected 0 (module (func (block $l (br_if $l (f32.const 0) (i32.const 1))))) ^^^^^ assert_invalid error: - third_party/testsuite/labels.wast:306:18: type stack at end of block is 1. expected 0 + out/third_party/testsuite/labels.wast:306:18: type stack at end of block is 1. expected 0 (module (func (block $l (br_if $l (f32.const 0) (i32.const 1))))) ^^^^^ 24/24 tests passed. diff --git a/test/spec/linking.txt b/test/spec/linking.txt index dd7407da..732cb2e0 100644 --- a/test/spec/linking.txt +++ b/test/spec/linking.txt @@ -1,16 +1,16 @@ ;;; TOOL: run-interp-spec ;;; STDIN_FILE: third_party/testsuite/linking.wast (;; STDOUT ;;; -third_party/testsuite/linking.wast:28: assert_unlinkable passed: +out/third_party/testsuite/linking.wast:28: assert_unlinkable passed: error: import signature mismatch error: @0x00000025: on_import_func callback failed -third_party/testsuite/linking.wast:32: assert_unlinkable passed: +out/third_party/testsuite/linking.wast:32: assert_unlinkable passed: error: import signature mismatch error: @0x00000026: on_import_func callback failed -third_party/testsuite/linking.wast:160: assert_unlinkable passed: +out/third_party/testsuite/linking.wast:160: assert_unlinkable passed: error: unknown module field "mem" error: @0x00000038: on_import callback failed -third_party/testsuite/linking.wast:233: assert_unlinkable passed: +out/third_party/testsuite/linking.wast:233: assert_unlinkable passed: error: unknown module field "tab" error: @0x00000033: on_import callback failed 69/69 tests passed. diff --git a/test/spec/load-align-0.fail.txt b/test/spec/load-align-0.fail.txt index c4d8e855..b02f0cf1 100644 --- a/test/spec/load-align-0.fail.txt +++ b/test/spec/load-align-0.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/load-align-0.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/load-align-0.fail.wast:1:33: alignment must be power-of-two +out/third_party/testsuite/load-align-0.fail.wast:1:33: alignment must be power-of-two (module (memory 0) (func (drop (i64.load align=0 (i32.const 0))))) ^^^^^^^^^^^^^^^^ diff --git a/test/spec/load-align-odd.fail.txt b/test/spec/load-align-odd.fail.txt index 9cb8760d..1dc6021a 100644 --- a/test/spec/load-align-odd.fail.txt +++ b/test/spec/load-align-odd.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/load-align-odd.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/load-align-odd.fail.wast:1:33: alignment must be power-of-two +out/third_party/testsuite/load-align-odd.fail.wast:1:33: alignment must be power-of-two (module (memory 0) (func (drop (i64.load align=5 (i32.const 0))))) ^^^^^^^^^^^^^^^^ diff --git a/test/spec/loop-end-label-mismatch.fail.txt b/test/spec/loop-end-label-mismatch.fail.txt index b13bf700..a51688a0 100644 --- a/test/spec/loop-end-label-mismatch.fail.txt +++ b/test/spec/loop-end-label-mismatch.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/loop-end-label-mismatch.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/loop-end-label-mismatch.fail.wast:1:27: mismatching label "$a" != "$l" +out/third_party/testsuite/loop-end-label-mismatch.fail.wast:1:27: mismatching label "$a" != "$l" (module (func loop $a end $l)) ^^ diff --git a/test/spec/loop-end-label-superfluous.fail.txt b/test/spec/loop-end-label-superfluous.fail.txt index 3b3e4aeb..36ee27db 100644 --- a/test/spec/loop-end-label-superfluous.fail.txt +++ b/test/spec/loop-end-label-superfluous.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/loop-end-label-superfluous.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/loop-end-label-superfluous.fail.wast:1:24: unexpected label "$l" +out/third_party/testsuite/loop-end-label-superfluous.fail.wast:1:24: unexpected label "$l" (module (func loop end $l)) ^^ diff --git a/test/spec/loop.txt b/test/spec/loop.txt index 4666750a..422fd463 100644 --- a/test/spec/loop.txt +++ b/test/spec/loop.txt @@ -2,55 +2,55 @@ ;;; STDIN_FILE: third_party/testsuite/loop.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/loop.wast:226:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:226:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i32 (result i32) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:226:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:226:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i32 (result i32) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:230:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:230:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-i64 (result i64) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:230:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:230:11: type stack at end of function is 0. expected 1 (module (func $type-empty-i64 (result i64) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:234:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:234:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f32 (result f32) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:234:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:234:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f32 (result f32) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:238:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:238:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-empty-f64 (result f64) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:238:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:238:11: type stack at end of function is 0. expected 1 (module (func $type-empty-f64 (result f64) (loop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:243:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:243:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:243:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:243:11: type stack at end of function is 0. expected 1 (module (func $type-value-void-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:250:6: type stack at end of loop is 1. expected 0 + out/third_party/testsuite/loop.wast:250:6: type stack at end of loop is 1. expected 0 (loop (f32.const 0)) ^^^^ assert_invalid error: - third_party/testsuite/loop.wast:249:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/loop.wast:249:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-value-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/loop.wast:249:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/loop.wast:249:11: type stack at end of function is 0. expected 1 (module (func $type-value-num-vs-num (result i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 42/42 tests passed. diff --git a/test/spec/memory.txt b/test/spec/memory.txt index 142058af..720544d6 100644 --- a/test/spec/memory.txt +++ b/test/spec/memory.txt @@ -2,148 +2,148 @@ ;;; STDIN_FILE: third_party/testsuite/memory.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/memory.wast:19:36: only one memory block allowed + out/third_party/testsuite/memory.wast:19:36: only one memory block allowed (assert_invalid (module (memory 0) (memory 0)) "multiple memories") ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:20:65: only one memory block allowed + out/third_party/testsuite/memory.wast:20:65: only one memory block allowed ...dule (memory (import "spectest" "memory") 0) (memory 0)) "multiple memories") ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:29:26: memory variable out of range (max 0) + out/third_party/testsuite/memory.wast:29:26: memory variable out of range (max 0) (assert_invalid (module (data (i32.const 0))) "unknown memory") ^^^^ assert_invalid error: - third_party/testsuite/memory.wast:30:26: memory variable out of range (max 0) + out/third_party/testsuite/memory.wast:30:26: memory variable out of range (max 0) (assert_invalid (module (data (i32.const 0) "")) "unknown memory") ^^^^ assert_invalid error: - third_party/testsuite/memory.wast:31:26: memory variable out of range (max 0) + out/third_party/testsuite/memory.wast:31:26: memory variable out of range (max 0) (assert_invalid (module (data (i32.const 0) "x")) "unknown memory") ^^^^ assert_invalid error: - third_party/testsuite/memory.wast:34:24: f32.load requires an imported or defined memory. + out/third_party/testsuite/memory.wast:34:24: f32.load requires an imported or defined memory. (module (func (drop (f32.load (i32.const 0))))) ^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:38:18: f32.store requires an imported or defined memory. + out/third_party/testsuite/memory.wast:38:18: f32.store requires an imported or defined memory. (module (func (f32.store (f32.const 0) (i32.const 0)))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:38:18: type mismatch at f32.store. got f32, expected i32 + out/third_party/testsuite/memory.wast:38:18: type mismatch at f32.store. got f32, expected i32 (module (func (f32.store (f32.const 0) (i32.const 0)))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:38:18: type mismatch at f32.store. got i32, expected f32 + out/third_party/testsuite/memory.wast:38:18: type mismatch at f32.store. got i32, expected f32 (module (func (f32.store (f32.const 0) (i32.const 0)))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:42:24: i32.load8_s requires an imported or defined memory. + out/third_party/testsuite/memory.wast:42:24: i32.load8_s requires an imported or defined memory. (module (func (drop (i32.load8_s (i32.const 0))))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:46:18: i32.store8 requires an imported or defined memory. + out/third_party/testsuite/memory.wast:46:18: i32.store8 requires an imported or defined memory. (module (func (i32.store8 (i32.const 0) (i32.const 0)))) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:50:24: current_memory requires an imported or defined memory. + out/third_party/testsuite/memory.wast:50:24: current_memory requires an imported or defined memory. (module (func (drop (current_memory)))) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:54:24: grow_memory requires an imported or defined memory. + out/third_party/testsuite/memory.wast:54:24: grow_memory requires an imported or defined memory. (module (func (drop (grow_memory (i32.const 0))))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:59:29: type mismatch at data segment offset. got i64, expected i32 + out/third_party/testsuite/memory.wast:59:29: type mismatch at data segment offset. got i64, expected i32 (module (memory 1) (data (i64.const 0))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:63:22: invalid data segment offset, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/memory.wast:63:22: invalid data segment offset, must be a constant expression; either *.const or get_global. (module (memory 1) (data (i32.ctz (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:67:22: invalid data segment offset, must be a constant expression; either *.const or get_global. + out/third_party/testsuite/memory.wast:67:22: invalid data segment offset, must be a constant expression; either *.const or get_global. (module (memory 1) (data (nop))) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:104:11: max pages (0) must be >= initial pages (1) + out/third_party/testsuite/memory.wast:104:11: max pages (0) must be >= initial pages (1) (module (memory 1 0)) ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:108:11: initial pages (65537) must be <= (65536) + out/third_party/testsuite/memory.wast:108:11: initial pages (65537) must be <= (65536) (module (memory 65537)) ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:112:11: initial pages (2147483648) must be <= (65536) + out/third_party/testsuite/memory.wast:112:11: initial pages (2147483648) must be <= (65536) (module (memory 2147483648)) ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:116:11: initial pages (4294967295) must be <= (65536) + out/third_party/testsuite/memory.wast:116:11: initial pages (4294967295) must be <= (65536) (module (memory 4294967295)) ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:120:11: max pages (65537) must be <= (65536) + out/third_party/testsuite/memory.wast:120:11: max pages (65537) must be <= (65536) (module (memory 0 65537)) ^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:124:11: max pages (2147483648) must be <= (65536) + out/third_party/testsuite/memory.wast:124:11: max pages (2147483648) must be <= (65536) (module (memory 0 2147483648)) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:128:11: max pages (4294967295) must be <= (65536) + out/third_party/testsuite/memory.wast:128:11: max pages (4294967295) must be <= (65536) (module (memory 0 4294967295)) ^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:139:35: alignment must not be larger than natural alignment (8) + out/third_party/testsuite/memory.wast:139:35: alignment must not be larger than natural alignment (8) (module (memory 0) (func (drop (i64.load align=16 (i32.const 0))))) ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:143:35: alignment must not be larger than natural alignment (8) + out/third_party/testsuite/memory.wast:143:35: alignment must not be larger than natural alignment (8) (module (memory 0) (func (drop (i64.load align=32 (i32.const 0))))) ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:147:35: alignment must not be larger than natural alignment (4) + out/third_party/testsuite/memory.wast:147:35: alignment must not be larger than natural alignment (4) (module (memory 0) (func (drop (i32.load align=8 (i32.const 0))))) ^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:151:35: alignment must not be larger than natural alignment (2) + out/third_party/testsuite/memory.wast:151:35: alignment must not be larger than natural alignment (2) (module (memory 0) (func (drop (i32.load16_u align=4 (i32.const 0))))) ^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:155:35: alignment must not be larger than natural alignment (1) + out/third_party/testsuite/memory.wast:155:35: alignment must not be larger than natural alignment (1) (module (memory 0) (func (drop (i32.load8_u align=2 (i32.const 0))))) ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:159:29: alignment must not be larger than natural alignment (1) + out/third_party/testsuite/memory.wast:159:29: alignment must not be larger than natural alignment (1) (module (memory 0) (func (i32.store8 align=2 (i32.const 0) (i32.const 0)))) ^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:163:29: alignment must not be larger than natural alignment (2) + out/third_party/testsuite/memory.wast:163:29: alignment must not be larger than natural alignment (2) (module (memory 0) (func (i32.load16_u align=4 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:163:22: type stack at end of function is 1. expected 0 + out/third_party/testsuite/memory.wast:163:22: type stack at end of function is 1. expected 0 (module (memory 0) (func (i32.load16_u align=4 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:167:29: alignment must not be larger than natural alignment (1) + out/third_party/testsuite/memory.wast:167:29: alignment must not be larger than natural alignment (1) (module (memory 0) (func (i32.load8_u align=2 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:167:22: type stack at end of function is 1. expected 0 + out/third_party/testsuite/memory.wast:167:22: type stack at end of function is 1. expected 0 (module (memory 0) (func (i32.load8_u align=2 (i32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/memory.wast:171:29: alignment must not be larger than natural alignment (1) + out/third_party/testsuite/memory.wast:171:29: alignment must not be larger than natural alignment (1) (module (memory 0) (func (i32.store8 align=2 (i32.const 0) (i32.const 0)))) ^^^^^^^^^^^^^^^^^^ -third_party/testsuite/memory.wast:77: assert_unlinkable passed: +out/third_party/testsuite/memory.wast:77: assert_unlinkable passed: error: data segment is out of bounds: [0, 1) >= max value 0 error: @0x00000017: on_data_segment_data callback failed -third_party/testsuite/memory.wast:81: assert_unlinkable passed: +out/third_party/testsuite/memory.wast:81: assert_unlinkable passed: error: data segment is out of bounds: [98304, 98305) >= max value 65536 error: @0x0000001f: on_data_segment_data callback failed -third_party/testsuite/memory.wast:90: assert_unlinkable passed: +out/third_party/testsuite/memory.wast:90: assert_unlinkable passed: error: data segment is out of bounds: [666, 667) >= max value 0 error: @0x0000002c: on_data_segment_data callback failed 30/30 tests passed. diff --git a/test/spec/nop.txt b/test/spec/nop.txt index 1407c455..ee9328a7 100644 --- a/test/spec/nop.txt +++ b/test/spec/nop.txt @@ -2,35 +2,35 @@ ;;; STDIN_FILE: third_party/testsuite/nop.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/nop.wast:246:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/nop.wast:246:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-i32 (result i32) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:246:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/nop.wast:246:11: type stack at end of function is 0. expected 1 (module (func $type-i32 (result i32) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:250:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/nop.wast:250:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-i64 (result i64) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:250:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/nop.wast:250:11: type stack at end of function is 0. expected 1 (module (func $type-i64 (result i64) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:254:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/nop.wast:254:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-f32 (result f32) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:254:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/nop.wast:254:11: type stack at end of function is 0. expected 1 (module (func $type-f32 (result f32) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:258:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/nop.wast:258:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-f64 (result f64) (nop))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/nop.wast:258:11: type stack at end of function is 0. expected 1 + 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. diff --git a/test/spec/of_string-overflow-hex-u32.fail.txt b/test/spec/of_string-overflow-hex-u32.fail.txt index da771ee7..ed23837e 100644 --- a/test/spec/of_string-overflow-hex-u32.fail.txt +++ b/test/spec/of_string-overflow-hex-u32.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-hex-u32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-hex-u32.fail.wast:1:26: invalid literal "0x100000000" +out/third_party/testsuite/of_string-overflow-hex-u32.fail.wast:1:26: invalid literal "0x100000000" (module (func (i32.const 0x100000000))) ^^^^^^^^^^^ diff --git a/test/spec/of_string-overflow-hex-u64.fail.txt b/test/spec/of_string-overflow-hex-u64.fail.txt index 4a66c648..1ffe1b63 100644 --- a/test/spec/of_string-overflow-hex-u64.fail.txt +++ b/test/spec/of_string-overflow-hex-u64.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-hex-u64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-hex-u64.fail.wast:1:26: invalid literal "0x10000000000000000" +out/third_party/testsuite/of_string-overflow-hex-u64.fail.wast:1:26: invalid literal "0x10000000000000000" (module (func (i64.const 0x10000000000000000))) ^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/of_string-overflow-s32.fail.txt b/test/spec/of_string-overflow-s32.fail.txt index 62f5c1b7..956ace69 100644 --- a/test/spec/of_string-overflow-s32.fail.txt +++ b/test/spec/of_string-overflow-s32.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-s32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-s32.fail.wast:1:26: invalid literal "-2147483649" +out/third_party/testsuite/of_string-overflow-s32.fail.wast:1:26: invalid literal "-2147483649" (module (func (i32.const -2147483649))) ^^^^^^^^^^^ diff --git a/test/spec/of_string-overflow-s64.fail.txt b/test/spec/of_string-overflow-s64.fail.txt index 165bef20..0f5df3b9 100644 --- a/test/spec/of_string-overflow-s64.fail.txt +++ b/test/spec/of_string-overflow-s64.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-s64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-s64.fail.wast:1:26: invalid literal "-9223372036854775809" +out/third_party/testsuite/of_string-overflow-s64.fail.wast:1:26: invalid literal "-9223372036854775809" (module (func (i64.const -9223372036854775809))) ^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/of_string-overflow-u32.fail.txt b/test/spec/of_string-overflow-u32.fail.txt index 6446e4c8..37d88ab6 100644 --- a/test/spec/of_string-overflow-u32.fail.txt +++ b/test/spec/of_string-overflow-u32.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-u32.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-u32.fail.wast:1:26: invalid literal "4294967296" +out/third_party/testsuite/of_string-overflow-u32.fail.wast:1:26: invalid literal "4294967296" (module (func (i32.const 4294967296))) ^^^^^^^^^^ diff --git a/test/spec/of_string-overflow-u64.fail.txt b/test/spec/of_string-overflow-u64.fail.txt index 2966acd6..ae9d879b 100644 --- a/test/spec/of_string-overflow-u64.fail.txt +++ b/test/spec/of_string-overflow-u64.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/of_string-overflow-u64.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/of_string-overflow-u64.fail.wast:1:26: invalid literal "18446744073709551616" +out/third_party/testsuite/of_string-overflow-u64.fail.wast:1:26: invalid literal "18446744073709551616" (module (func (i64.const 18446744073709551616))) ^^^^^^^^^^^^^^^^^^^^ diff --git a/test/spec/return.txt b/test/spec/return.txt index 61d4f022..d0912be0 100644 --- a/test/spec/return.txt +++ b/test/spec/return.txt @@ -2,15 +2,15 @@ ;;; STDIN_FILE: third_party/testsuite/return.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/return.wast:270:56: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/return.wast:270:56: type stack size too small at return. got 0, expected at least 1 (module (func $type-value-empty-vs-num (result f64) (return))) ^^^^^^ assert_invalid error: - third_party/testsuite/return.wast:274:55: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/return.wast:274:55: type stack size too small at return. got 0, expected at least 1 (module (func $type-value-void-vs-num (result f64) (return (nop)))) ^^^^^^ assert_invalid error: - third_party/testsuite/return.wast:278:54: type mismatch at return. got i64, expected f64 + out/third_party/testsuite/return.wast:278:54: type mismatch at return. got i64, expected f64 (module (func $type-value-num-vs-num (result f64) (return (i64.const 1)))) ^^^^^^ 57/57 tests passed. diff --git a/test/spec/select.txt b/test/spec/select.txt index 7b9a359e..735bd990 100644 --- a/test/spec/select.txt +++ b/test/spec/select.txt @@ -2,7 +2,7 @@ ;;; STDIN_FILE: third_party/testsuite/select.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/select.wast:55:27: type stack size too small at select. got 0, expected at least 2 + out/third_party/testsuite/select.wast:55:27: type stack size too small at select. got 0, expected at least 2 (module (func $arity-0 (select (nop) (nop) (i32.const 1)))) ^^^^^^ 28/28 tests passed. diff --git a/test/spec/set_local.txt b/test/spec/set_local.txt index 424a5fbb..01b0a323 100644 --- a/test/spec/set_local.txt +++ b/test/spec/set_local.txt @@ -2,115 +2,115 @@ ;;; STDIN_FILE: third_party/testsuite/set_local.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/set_local.wast:95:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/set_local.wast:95:11: type stack size too small at function. got 0, expected at least 1 (module (func $type-local-num-vs-num (result i64) (local i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:95:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/set_local.wast:95:11: type stack at end of function is 0. expected 1 (module (func $type-local-num-vs-num (result i64) (local i32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:102:6: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/set_local.wast:102:6: type stack size too small at i32.eqz. got 0, expected at least 1 (i32.eqz (set_local 0 (f32.const 0))) ^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:101:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/set_local.wast:101:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:108:6: type stack size too small at f64.neg. got 0, expected at least 1 + out/third_party/testsuite/set_local.wast:108:6: type stack size too small at f64.neg. got 0, expected at least 1 (f64.neg (set_local 1 (i64.const 0))) ^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:107:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/set_local.wast:107:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f64 i64) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:114:58: type stack size too small at set_local. got 0, expected at least 1 + out/third_party/testsuite/set_local.wast:114:58: type stack size too small at set_local. got 0, expected at least 1 (module (func $type-local-arg-void-vs-num (local i32) (set_local 0 (nop)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:118:57: type mismatch at set_local. got f32, expected i32 + out/third_party/testsuite/set_local.wast:118:57: type mismatch at set_local. got f32, expected i32 ...le (func $type-local-arg-num-vs-num (local i32) (set_local 0 (f32.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:122:57: type mismatch at set_local. got f64, expected f32 + out/third_party/testsuite/set_local.wast:122:57: type mismatch at set_local. got f64, expected f32 ...le (func $type-local-arg-num-vs-num (local f32) (set_local 0 (f64.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:126:61: type mismatch at set_local. got f64, expected i64 + out/third_party/testsuite/set_local.wast:126:61: type mismatch at set_local. got f64, expected i64 ...func $type-local-arg-num-vs-num (local f64 i64) (set_local 1 (f64.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:134:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/set_local.wast:134:11: type mismatch at function. got i32, expected i64 (module (func $type-param-num-vs-num (param i32) (result i64) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:138:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/set_local.wast:138:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:138:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/set_local.wast:138:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:142:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/set_local.wast:142:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:142:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/set_local.wast:142:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:147:58: type stack size too small at set_local. got 0, expected at least 1 + out/third_party/testsuite/set_local.wast:147:58: type stack size too small at set_local. got 0, expected at least 1 (module (func $type-param-arg-void-vs-num (param i32) (set_local 0 (nop)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:151:57: type mismatch at set_local. got f32, expected i32 + out/third_party/testsuite/set_local.wast:151:57: type mismatch at set_local. got f32, expected i32 ...le (func $type-param-arg-num-vs-num (param i32) (set_local 0 (f32.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:155:57: type mismatch at set_local. got f64, expected f32 + out/third_party/testsuite/set_local.wast:155:57: type mismatch at set_local. got f64, expected f32 ...le (func $type-param-arg-num-vs-num (param f32) (set_local 0 (f64.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:159:61: type mismatch at set_local. got f64, expected i64 + out/third_party/testsuite/set_local.wast:159:61: type mismatch at set_local. got f64, expected i64 ...func $type-param-arg-num-vs-num (param f64 i64) (set_local 1 (f64.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:167:59: local variable out of range (max 2) + out/third_party/testsuite/set_local.wast:167:59: local variable out of range (max 2) (module (func $unbound-local (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/set_local.wast:171:57: local variable out of range (max 2) + out/third_party/testsuite/set_local.wast:171:57: local variable out of range (max 2) (module (func $large-local (local i32 i64) (get_local 14324343))) ^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:176:59: local variable out of range (max 2) + out/third_party/testsuite/set_local.wast:176:59: local variable out of range (max 2) (module (func $unbound-param (param i32 i64) (get_local 2))) ^ assert_invalid error: - third_party/testsuite/set_local.wast:180:57: local variable out of range (max 2) + out/third_party/testsuite/set_local.wast:180:57: local variable out of range (max 2) (module (func $large-param (local i32 i64) (get_local 714324343))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:185:71: local variable out of range (max 3) + out/third_party/testsuite/set_local.wast:185:71: local variable out of range (max 3) (module (func $unbound-mixed (param i32) (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/set_local.wast:189:69: local variable out of range (max 3) + out/third_party/testsuite/set_local.wast:189:69: local variable out of range (max 3) (module (func $large-mixed (param i64) (local i32 i64) (get_local 214324343))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:194:69: type mismatch at set_local. got f32, expected i32 + out/third_party/testsuite/set_local.wast:194:69: type mismatch at set_local. got f32, expected i32 ...pe-mixed-arg-num-vs-num (param f32) (local i32) (set_local 1 (f32.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:198:73: type mismatch at set_local. got f32, expected i32 + out/third_party/testsuite/set_local.wast:198:73: type mismatch at set_local. got f32, expected i32 ...ixed-arg-num-vs-num (param i64 i32) (local f32) (set_local 1 (f32.const 0)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/set_local.wast:202:73: type mismatch at set_local. got i64, expected f64 + out/third_party/testsuite/set_local.wast:202:73: type mismatch at set_local. got i64, expected f64 ...ixed-arg-num-vs-num (param i64) (local f64 i64) (set_local 1 (i64.const 0)))) ^^^^^^^^^^^ 10/10 tests passed. diff --git a/test/spec/start.txt b/test/spec/start.txt index 0c7279ab..3ba46c1c 100644 --- a/test/spec/start.txt +++ b/test/spec/start.txt @@ -2,15 +2,15 @@ ;;; STDIN_FILE: third_party/testsuite/start.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/start.wast:2:25: function variable out of range (max 1) + out/third_party/testsuite/start.wast:2:25: function variable out of range (max 1) (module (func) (start 1)) ^ assert_invalid error: - third_party/testsuite/start.wast:9:5: start function must not return anything + out/third_party/testsuite/start.wast:9:5: start function must not return anything (start $main) ^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/start.wast:16:5: start function must be nullary + out/third_party/testsuite/start.wast:16:5: start function must be nullary (start $main) ^^^^^^^^^^^^^ inc() => diff --git a/test/spec/store-align-0.fail.txt b/test/spec/store-align-0.fail.txt index c8f50e2f..aaa0019c 100644 --- a/test/spec/store-align-0.fail.txt +++ b/test/spec/store-align-0.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/store-align-0.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/store-align-0.fail.wast:1:27: alignment must be power-of-two +out/third_party/testsuite/store-align-0.fail.wast:1:27: alignment must be power-of-two (module (memory 0) (func (i64.store align=0 (i32.const 0) (i64.const 0)))) ^^^^^^^^^^^^^^^^^ diff --git a/test/spec/store-align-odd.fail.txt b/test/spec/store-align-odd.fail.txt index 9ef1ee4f..75887d0d 100644 --- a/test/spec/store-align-odd.fail.txt +++ b/test/spec/store-align-odd.fail.txt @@ -3,7 +3,7 @@ ;;; STDIN_FILE: third_party/testsuite/store-align-odd.fail.wast (;; STDERR ;;; Error running "wast2wasm": -third_party/testsuite/store-align-odd.fail.wast:1:27: alignment must be power-of-two +out/third_party/testsuite/store-align-odd.fail.wast:1:27: alignment must be power-of-two (module (memory 0) (func (i64.store align=6 (i32.const 0) (i64.const 0)))) ^^^^^^^^^^^^^^^^^ diff --git a/test/spec/store_retval.txt b/test/spec/store_retval.txt index aba80f67..7110de0e 100644 --- a/test/spec/store_retval.txt +++ b/test/spec/store_retval.txt @@ -2,107 +2,107 @@ ;;; STDIN_FILE: third_party/testsuite/store_retval.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/store_retval.wast:2:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:2:11: type stack size too small at function. got 0, expected at least 1 (module (func (param i32) (result i32) (set_local 0 (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:2:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:2:11: type stack at end of function is 0. expected 1 (module (func (param i32) (result i32) (set_local 0 (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:6:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:6:11: type stack size too small at function. got 0, expected at least 1 (module (func (param i64) (result i64) (set_local 0 (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:6:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:6:11: type stack at end of function is 0. expected 1 (module (func (param i64) (result i64) (set_local 0 (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:10:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:10:11: type stack size too small at function. got 0, expected at least 1 (module (func (param f32) (result f32) (set_local 0 (f32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:10:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:10:11: type stack at end of function is 0. expected 1 (module (func (param f32) (result f32) (set_local 0 (f32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:14:11: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:14:11: type stack size too small at function. got 0, expected at least 1 (module (func (param f64) (result f64) (set_local 0 (f64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:14:11: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:14:11: type stack at end of function is 0. expected 1 (module (func (param f64) (result f64) (set_local 0 (f64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:19:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:19:22: type stack size too small at function. got 0, expected at least 1 ...y 1) (func (param i32) (result i32) (i32.store (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:19:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:19:22: type stack at end of function is 0. expected 1 ...y 1) (func (param i32) (result i32) (i32.store (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:23:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:23:22: type stack size too small at function. got 0, expected at least 1 ...y 1) (func (param i64) (result i64) (i64.store (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:23:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:23:22: type stack at end of function is 0. expected 1 ...y 1) (func (param i64) (result i64) (i64.store (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:27:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:27:22: type stack size too small at function. got 0, expected at least 1 ...y 1) (func (param f32) (result f32) (f32.store (i32.const 0) (f32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:27:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:27:22: type stack at end of function is 0. expected 1 ...y 1) (func (param f32) (result f32) (f32.store (i32.const 0) (f32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:31:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:31:22: type stack size too small at function. got 0, expected at least 1 ...y 1) (func (param f64) (result f64) (f64.store (i32.const 0) (f64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:31:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:31:22: type stack at end of function is 0. expected 1 ...y 1) (func (param f64) (result f64) (f64.store (i32.const 0) (f64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:36:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:36:22: type stack size too small at function. got 0, expected at least 1 ... 1) (func (param i32) (result i32) (i32.store8 (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:36:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:36:22: type stack at end of function is 0. expected 1 ... 1) (func (param i32) (result i32) (i32.store8 (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:40:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:40:22: type stack size too small at function. got 0, expected at least 1 ...1) (func (param i32) (result i32) (i32.store16 (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:40:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:40:22: type stack at end of function is 0. expected 1 ...1) (func (param i32) (result i32) (i32.store16 (i32.const 0) (i32.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:44:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:44:22: type stack size too small at function. got 0, expected at least 1 ... 1) (func (param i64) (result i64) (i64.store8 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:44:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:44:22: type stack at end of function is 0. expected 1 ... 1) (func (param i64) (result i64) (i64.store8 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:48:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:48:22: type stack size too small at function. got 0, expected at least 1 ...1) (func (param i64) (result i64) (i64.store16 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:48:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:48:22: type stack at end of function is 0. expected 1 ...1) (func (param i64) (result i64) (i64.store16 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:52:22: type stack size too small at function. got 0, expected at least 1 + out/third_party/testsuite/store_retval.wast:52:22: type stack size too small at function. got 0, expected at least 1 ...1) (func (param i64) (result i64) (i64.store32 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/store_retval.wast:52:22: type stack at end of function is 0. expected 1 + out/third_party/testsuite/store_retval.wast:52:22: type stack at end of function is 0. expected 1 ...1) (func (param i64) (result i64) (i64.store32 (i32.const 0) (i64.const 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0/0 tests passed. diff --git a/test/spec/switch.txt b/test/spec/switch.txt index fd1f882b..3ce64026 100644 --- a/test/spec/switch.txt +++ b/test/spec/switch.txt @@ -2,7 +2,7 @@ ;;; STDIN_FILE: third_party/testsuite/switch.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/switch.wast:150:41: label variable out of range (max 1) + out/third_party/testsuite/switch.wast:150:41: label variable out of range (max 1) (assert_invalid (module (func (br_table 3 (i32.const 0)))) "unknown label") ^ 26/26 tests passed. diff --git a/test/spec/tee_local.txt b/test/spec/tee_local.txt index 6267eee1..7d770e5a 100644 --- a/test/spec/tee_local.txt +++ b/test/spec/tee_local.txt @@ -2,111 +2,111 @@ ;;; STDIN_FILE: third_party/testsuite/tee_local.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/tee_local.wast:132:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/tee_local.wast:132:11: type mismatch at function. got i32, expected i64 (module (func $type-local-num-vs-num (result i64) (local i32) (tee_local 0 ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:136:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/tee_local.wast:136:53: type mismatch at i32.eqz. got f32, expected i32 ...nc $type-local-num-vs-num (local f32) (i32.eqz (tee_local 0 (f32.const 0))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:136:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:136:11: type stack at end of function is 1. expected 0 ...unc $type-local-num-vs-num (local f32) (i32.eqz (tee_local 0 (f32.const 0)... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:140:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/tee_local.wast:140:57: type mismatch at f64.neg. got i64, expected f64 ...type-local-num-vs-num (local f64 i64) (f64.neg (tee_local 1 (i64.const 0))))) ^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:140:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:140:11: type stack at end of function is 1. expected 0 (module (func $type-local-num-vs-num (local f64 i64) (f64.neg (tee_local 1 ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:145:58: type stack size too small at tee_local. got 0, expected at least 1 + out/third_party/testsuite/tee_local.wast:145:58: type stack size too small at tee_local. got 0, expected at least 1 (module (func $type-local-arg-void-vs-num (local i32) (tee_local 0 (nop)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:149:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:149:11: type stack at end of function is 1. expected 0 ...le (func $type-local-arg-num-vs-num (local i32) (tee_local 0 (f32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:153:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:153:11: type stack at end of function is 1. expected 0 ...le (func $type-local-arg-num-vs-num (local f32) (tee_local 0 (f64.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:157:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:157:11: type stack at end of function is 1. expected 0 ...func $type-local-arg-num-vs-num (local f64 i64) (tee_local 1 (f64.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:165:11: type mismatch at function. got i32, expected i64 + out/third_party/testsuite/tee_local.wast:165:11: type mismatch at function. got i32, expected i64 (module (func $type-param-num-vs-num (param i32) (result i64) (get_local 0))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:169:53: type mismatch at i32.eqz. got f32, expected i32 + out/third_party/testsuite/tee_local.wast:169:53: type mismatch at i32.eqz. got f32, expected i32 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:169:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:169:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f32) (i32.eqz (get_local 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:173:57: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/tee_local.wast:173:57: type mismatch at f64.neg. got i64, expected f64 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:173:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:173:11: type stack at end of function is 1. expected 0 (module (func $type-param-num-vs-num (param f64 i64) (f64.neg (get_local 1)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:178:58: type stack size too small at tee_local. got 0, expected at least 1 + out/third_party/testsuite/tee_local.wast:178:58: type stack size too small at tee_local. got 0, expected at least 1 (module (func $type-param-arg-void-vs-num (param i32) (tee_local 0 (nop)))) ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:182:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:182:11: type stack at end of function is 1. expected 0 ...le (func $type-param-arg-num-vs-num (param i32) (tee_local 0 (f32.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:186:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:186:11: type stack at end of function is 1. expected 0 ...le (func $type-param-arg-num-vs-num (param f32) (tee_local 0 (f64.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:190:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:190:11: type stack at end of function is 1. expected 0 ...func $type-param-arg-num-vs-num (param f64 i64) (tee_local 1 (f64.const 0)))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:198:59: local variable out of range (max 2) + out/third_party/testsuite/tee_local.wast:198:59: local variable out of range (max 2) (module (func $unbound-local (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/tee_local.wast:202:57: local variable out of range (max 2) + out/third_party/testsuite/tee_local.wast:202:57: local variable out of range (max 2) (module (func $large-local (local i32 i64) (get_local 14324343))) ^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:207:59: local variable out of range (max 2) + out/third_party/testsuite/tee_local.wast:207:59: local variable out of range (max 2) (module (func $unbound-param (param i32 i64) (get_local 2))) ^ assert_invalid error: - third_party/testsuite/tee_local.wast:211:57: local variable out of range (max 2) + out/third_party/testsuite/tee_local.wast:211:57: local variable out of range (max 2) (module (func $large-param (local i32 i64) (get_local 714324343))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:216:71: local variable out of range (max 3) + out/third_party/testsuite/tee_local.wast:216:71: local variable out of range (max 3) (module (func $unbound-mixed (param i32) (local i32 i64) (get_local 3))) ^ assert_invalid error: - third_party/testsuite/tee_local.wast:220:69: local variable out of range (max 3) + out/third_party/testsuite/tee_local.wast:220:69: local variable out of range (max 3) (module (func $large-mixed (param i64) (local i32 i64) (get_local 214324343))) ^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:225:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:225:11: type stack at end of function is 1. expected 0 (module (func $type-mixed-arg-num-vs-num (param f32) (local i32) (tee_local... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:229:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:229:11: type stack at end of function is 1. expected 0 (module (func $type-mixed-arg-num-vs-num (param i64 i32) (local f32) (tee_l... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/tee_local.wast:233:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/tee_local.wast:233:11: type stack at end of function is 1. expected 0 (module (func $type-mixed-arg-num-vs-num (param i64) (local f64 i64) (tee_l... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11/11 tests passed. diff --git a/test/spec/typecheck.txt b/test/spec/typecheck.txt index 29cb9c92..671ff210 100644 --- a/test/spec/typecheck.txt +++ b/test/spec/typecheck.txt @@ -2,1751 +2,1751 @@ ;;; STDIN_FILE: third_party/testsuite/typecheck.wast (;; STDOUT ;;; assert_invalid error: - third_party/testsuite/typecheck.wast:5:6: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:5:6: type stack size too small at i32.eqz. got 0, expected at least 1 (i32.eqz) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:12:13: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:12:13: type stack size too small at i32.eqz. got 0, expected at least 1 (block (i32.eqz) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:10:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:10:11: type stack at end of function is 1. expected 0 (module (func $type-unary-operand-missing-in-block ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:19:11: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:19:11: type stack size too small at i32.eqz. got 0, expected at least 1 (loop (i32.eqz) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:17:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:17:11: type stack at end of function is 1. expected 0 (module (func $type-unary-operand-missing-in-loop ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:26:16: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:26:16: type stack size too small at i32.eqz. got 0, expected at least 1 (if (then (i32.eqz) (drop))) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:24:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:24:11: type stack at end of function is 1. expected 0 (module (func $type-unary-operand-missing-in-if ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:33:41: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:33:41: type stack size too small at i32.eqz. got 0, expected at least 1 (if i32 (then (i32.const 0)) (else (i32.eqz))) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:31:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:31:11: type stack at end of function is 1. expected 0 (module (func $type-unary-operand-missing-in-else ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:40:6: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:40:6: type stack size too small at i32.add. got 0, expected at least 2 (i32.add) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:46:20: type stack size too small at i32.add. got 1, expected at least 2 + out/third_party/testsuite/typecheck.wast:46:20: type stack size too small at i32.add. got 1, expected at least 2 (i32.const 0) (i32.add) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:45:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:45:11: type stack at end of function is 1. expected 0 (module (func $type-binary-2nd-operand-missing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:53:13: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:53:13: type stack size too small at i32.add. got 0, expected at least 2 (block (i32.add) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:51:11: type stack at end of function is 2. expected 0 + out/third_party/testsuite/typecheck.wast:51:11: type stack at end of function is 2. expected 0 (module (func $type-binary-1st-operand-missing-in-block ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:60:27: type stack size too small at i32.add. got 1, expected at least 2 + out/third_party/testsuite/typecheck.wast:60:27: type stack size too small at i32.add. got 1, expected at least 2 (block (i32.const 0) (i32.add) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:60:6: type stack at end of block is 1. expected 0 + out/third_party/testsuite/typecheck.wast:60:6: type stack at end of block is 1. expected 0 (block (i32.const 0) (i32.add) (drop)) ^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:58:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:58:11: type stack at end of function is 1. expected 0 (module (func $type-binary-2nd-operand-missing-in-block ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:67:12: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:67:12: type stack size too small at i32.add. got 0, expected at least 2 (loop (i32.add) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:65:11: type stack at end of function is 2. expected 0 + out/third_party/testsuite/typecheck.wast:65:11: type stack at end of function is 2. expected 0 (module (func $type-binary-1st-operand-missing-in-loop ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:74:26: type stack size too small at i32.add. got 1, expected at least 2 + out/third_party/testsuite/typecheck.wast:74:26: type stack size too small at i32.add. got 1, expected at least 2 (loop (i32.const 0) (i32.add) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:74:6: type stack at end of loop is 1. expected 0 + out/third_party/testsuite/typecheck.wast:74:6: type stack at end of loop is 1. expected 0 (loop (i32.const 0) (i32.add) (drop)) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:72:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:72:11: type stack at end of function is 1. expected 0 (module (func $type-binary-2nd-operand-missing-in-loop ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:81:20: type stack size too small at drop. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:81:20: type stack size too small at drop. got 0, expected at least 1 (if (i32.add) (drop)) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:79:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:79:11: type stack at end of function is 1. expected 0 (module (func $type-binary-1st-operand-missing-in-if ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:88:24: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:88:24: type stack size too small at i32.add. got 0, expected at least 2 (if (i32.const 0) (i32.add) (drop)) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:88:9: type stack at end of if true branch is 1. expected 0 + out/third_party/testsuite/typecheck.wast:88:9: type stack at end of if true branch is 1. expected 0 (if (i32.const 0) (i32.add) (drop)) ^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:88:34: type stack size too small at drop. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:88:34: type stack size too small at drop. got 0, expected at least 1 (if (i32.const 0) (i32.add) (drop)) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:86:11: type stack at end of function is 2. expected 0 + out/third_party/testsuite/typecheck.wast:86:11: type stack at end of function is 2. expected 0 (module (func $type-binary-2nd-operand-missing-in-if ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:95:41: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:95:41: type stack size too small at i32.add. got 0, expected at least 2 (if i32 (then (i32.const 0)) (else (i32.add) (i32.const 0))) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:95:13: type stack at end of if false branch is 2. expected 1 + out/third_party/testsuite/typecheck.wast:95:13: type stack at end of if false branch is 2. expected 1 (if i32 (then (i32.const 0)) (else (i32.add) (i32.const 0))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:93:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:93:11: type stack at end of function is 1. expected 0 (module (func $type-binary-1st-operand-missing-in-else ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:103:41: type stack size too small at i32.add. got 0, expected at least 2 + out/third_party/testsuite/typecheck.wast:103:41: type stack size too small at i32.add. got 0, expected at least 2 (if i32 (then (i32.const 0)) (else (i32.add))) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:101:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:101:11: type stack at end of function is 1. expected 0 (module (func $type-binary-2nd-operand-missing-in-else ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:111:9: type stack size too small at if condition. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:111:9: type stack size too small at if condition. got 0, expected at least 1 (if (then)) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:118:16: type stack size too small at if condition. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:118:16: type stack size too small at if condition. got 0, expected at least 1 (block (if (then))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:116:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:116:11: type stack at end of function is 1. expected 0 (module (func $type-if-operand-missing-in-block ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:125:15: type stack size too small at if condition. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:125:15: type stack size too small at if condition. got 0, expected at least 1 (loop (if (then))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:123:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:123:11: type stack at end of function is 1. expected 0 (module (func $type-if-operand-missing-in-loop ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:132:19: type stack size too small at if condition. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:132:19: type stack size too small at if condition. got 0, expected at least 1 (if (then (if (then)))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:130:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:130:11: type stack at end of function is 1. expected 0 (module (func $type-if-operand-missing-in-if ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:139:44: type stack size too small at if condition. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:139:44: type stack size too small at if condition. got 0, expected at least 1 (if i32 (then (i32.const 0)) (else (if (then)) (i32.const 0))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:137:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:137:11: type stack at end of function is 1. expected 0 (module (func $type-if-operand-missing-in-else ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:147:17: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:147:17: type stack size too small at br value. got 0, expected at least 1 (block i32 (br 0)) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:155:17: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:155:17: type stack size too small at br value. got 0, expected at least 1 (block i32 (br 0)) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:153:11: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:153:11: type stack at end of function is 1. expected 0 (module (func $type-br-operand-missing-in-block ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:164:22: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:164:22: type stack size too small at br value. got 0, expected at least 1 (if i32 (then (br 0))) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:164:15: type stack size too small at if false branch. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:164:15: type stack size too small at if false branch. got 0, expected at least 1 (if i32 (then (br 0))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:164:15: type stack at end of if false branch is 0. expected 1 + out/third_party/testsuite/typecheck.wast:164:15: type stack at end of if false branch is 0. expected 1 (if i32 (then (br 0))) ^ assert_invalid error: - third_party/testsuite/typecheck.wast:162:6: type stack at end of block is 2. expected 0 + out/third_party/testsuite/typecheck.wast:162:6: type stack at end of block is 2. expected 0 (block ^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:166:6: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:166:6: type stack size too small at i32.eqz. got 0, expected at least 1 (i32.eqz) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:174:43: type stack size too small at br value. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:174:43: type stack size too small at br value. got 0, expected at least 1 (if i32 (then (i32.const 0)) (else (br 0))) ^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:172:6: type stack at end of block is 2. expected 0 + out/third_party/testsuite/typecheck.wast:172:6: type stack at end of block is 2. expected 0 (block ^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:176:6: type stack size too small at i32.eqz. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:176:6: type stack size too small at i32.eqz. got 0, expected at least 1 (i32.eqz) (drop) ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:183:6: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:183:6: type stack size too small at return. got 0, expected at least 1 (return) ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:190:13: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:190:13: type stack size too small at return. got 0, expected at least 1 (block (return)) ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:197:12: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:197:12: type stack size too small at return. got 0, expected at least 1 (loop (return)) ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:204:16: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:204:16: type stack size too small at return. got 0, expected at least 1 (if (then (return))) ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:211:41: type stack size too small at return. got 0, expected at least 1 + out/third_party/testsuite/typecheck.wast:211:41: type stack size too small at return. got 0, expected at least 1 (if i32 (then (i32.const 0)) (else (return))) (drop) ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:219:35: type mismatch at if condition. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:219:35: type mismatch at if condition. got f32, expected i32 (assert_invalid (module (func (if (f32.const 0) (nop) (nop)))) "type mismatch") ^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:222:39: type mismatch at br_if condition. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:222:39: type mismatch at br_if condition. got f32, expected i32 (assert_invalid (module (func (block (br_if 0 (f32.const 0))))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:226:25: type mismatch at br_table key. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:226:25: type mismatch at br_table key. got f32, expected i32 (module (func (block (br_table 0 (f32.const 0))))) ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:230:51: type mismatch for argument 0 of call. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:230:51: type mismatch for argument 0 of call. got f32, expected i32 ...id (module (func (param i32)) (func (call 0 (f32.const 0)))) "type mismatch") ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:237:8: type mismatch at call_indirect function index. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:237:8: type mismatch at call_indirect function index. got f32, expected i32 (call_indirect 0 (i32.const 0) (f32.const 0)))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:246:12: type mismatch at call_indirect function index. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:246:12: type mismatch at call_indirect function index. got f32, expected i32 (func (call_indirect 0 (f32.const 0)))) ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:250:45: type mismatch at return. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:250:45: type mismatch at return. got f32, expected i32 ..._invalid (module (func (result i32) (return (f32.const 0)))) "type mismatch") ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:253:44: type mismatch at set_local. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:253:44: type mismatch at set_local. got f32, expected i32 ...alid (module (func (local i32) (set_local 0 (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:256:43: type mismatch at i32.load. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:256:43: type mismatch at i32.load. got f32, expected i32 ..._invalid (module (memory 1) (func (i32.load (f32.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:256:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:256:36: type stack at end of function is 1. expected 0 ..._invalid (module (memory 1) (func (i32.load (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:257:43: type mismatch at i32.load8_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:257:43: type mismatch at i32.load8_s. got f32, expected i32 ...valid (module (memory 1) (func (i32.load8_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:257:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:257:36: type stack at end of function is 1. expected 0 ...valid (module (memory 1) (func (i32.load8_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:258:43: type mismatch at i32.load8_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:258:43: type mismatch at i32.load8_u. got f32, expected i32 ...valid (module (memory 1) (func (i32.load8_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:258:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:258:36: type stack at end of function is 1. expected 0 ...valid (module (memory 1) (func (i32.load8_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:259:43: type mismatch at i32.load16_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:259:43: type mismatch at i32.load16_s. got f32, expected i32 ...alid (module (memory 1) (func (i32.load16_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:259:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:259:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i32.load16_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:260:43: type mismatch at i32.load16_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:260:43: type mismatch at i32.load16_u. got f32, expected i32 ...alid (module (memory 1) (func (i32.load16_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:260:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:260:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i32.load16_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:261:43: type mismatch at i64.load. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:261:43: type mismatch at i64.load. got f32, expected i32 ..._invalid (module (memory 1) (func (i64.load (f32.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:261:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:261:36: type stack at end of function is 1. expected 0 ..._invalid (module (memory 1) (func (i64.load (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:262:43: type mismatch at i64.load8_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:262:43: type mismatch at i64.load8_s. got f32, expected i32 ...valid (module (memory 1) (func (i64.load8_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:262:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:262:36: type stack at end of function is 1. expected 0 ...valid (module (memory 1) (func (i64.load8_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:263:43: type mismatch at i64.load8_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:263:43: type mismatch at i64.load8_u. got f32, expected i32 ...valid (module (memory 1) (func (i64.load8_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:263:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:263:36: type stack at end of function is 1. expected 0 ...valid (module (memory 1) (func (i64.load8_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:264:43: type mismatch at i64.load16_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:264:43: type mismatch at i64.load16_s. got f32, expected i32 ...alid (module (memory 1) (func (i64.load16_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:264:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:264:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i64.load16_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:265:43: type mismatch at i64.load16_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:265:43: type mismatch at i64.load16_u. got f32, expected i32 ...alid (module (memory 1) (func (i64.load16_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:265:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:265:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i64.load16_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:266:43: type mismatch at i64.load32_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:266:43: type mismatch at i64.load32_s. got f32, expected i32 ...alid (module (memory 1) (func (i64.load32_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:266:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:266:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i64.load32_s (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:267:43: type mismatch at i64.load32_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:267:43: type mismatch at i64.load32_u. got f32, expected i32 ...alid (module (memory 1) (func (i64.load32_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:267:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:267:36: type stack at end of function is 1. expected 0 ...alid (module (memory 1) (func (i64.load32_u (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:268:43: type mismatch at f32.load. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:268:43: type mismatch at f32.load. got f32, expected i32 ..._invalid (module (memory 1) (func (f32.load (f32.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:268:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:268:36: type stack at end of function is 1. expected 0 ..._invalid (module (memory 1) (func (f32.load (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:269:43: type mismatch at f64.load. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:269:43: type mismatch at f64.load. got f32, expected i32 ..._invalid (module (memory 1) (func (f64.load (f32.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:269:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:269:36: type stack at end of function is 1. expected 0 ..._invalid (module (memory 1) (func (f64.load (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:272:43: type mismatch at i32.store. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:272:43: type mismatch at i32.store. got f32, expected i32 ...nvalid (module (memory 1) (func (i32.store (f32.const 0) (i32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:273:43: type mismatch at i32.store8. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:273:43: type mismatch at i32.store8. got f32, expected i32 ...valid (module (memory 1) (func (i32.store8 (f32.const 0) (i32.const 0)))) ... ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:274:43: type mismatch at i32.store16. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:274:43: type mismatch at i32.store16. got f32, expected i32 ...valid (module (memory 1) (func (i32.store16 (f32.const 0) (i32.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:275:43: type mismatch at i64.store. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:275:43: type mismatch at i64.store. got f32, expected i32 ...nvalid (module (memory 1) (func (i64.store (f32.const 0) (i32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:275:43: type mismatch at i64.store. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:275:43: type mismatch at i64.store. got i32, expected i64 ...nvalid (module (memory 1) (func (i64.store (f32.const 0) (i32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:276:43: type mismatch at i64.store8. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:276:43: type mismatch at i64.store8. got f32, expected i32 ...valid (module (memory 1) (func (i64.store8 (f32.const 0) (i64.const 0)))) ... ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:277:43: type mismatch at i64.store16. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:277:43: type mismatch at i64.store16. got f32, expected i32 ...valid (module (memory 1) (func (i64.store16 (f32.const 0) (i64.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:278:43: type mismatch at i64.store32. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:278:43: type mismatch at i64.store32. got f32, expected i32 ...valid (module (memory 1) (func (i64.store32 (f32.const 0) (i64.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:279:43: type mismatch at f32.store. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:279:43: type mismatch at f32.store. got f32, expected i32 ...nvalid (module (memory 1) (func (f32.store (f32.const 0) (f32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:280:43: type mismatch at f64.store. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:280:43: type mismatch at f64.store. got f32, expected i32 ...nvalid (module (memory 1) (func (f64.store (f32.const 0) (f64.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:283:43: type mismatch at i32.store. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:283:43: type mismatch at i32.store. got f32, expected i32 ...nvalid (module (memory 1) (func (i32.store (i32.const 0) (f32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:284:43: type mismatch at i32.store8. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:284:43: type mismatch at i32.store8. got f32, expected i32 ...valid (module (memory 1) (func (i32.store8 (i32.const 0) (f32.const 0)))) ... ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:285:43: type mismatch at i32.store16. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:285:43: type mismatch at i32.store16. got f32, expected i32 ...valid (module (memory 1) (func (i32.store16 (i32.const 0) (f32.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:286:43: type mismatch at i64.store. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:286:43: type mismatch at i64.store. got f32, expected i64 ...nvalid (module (memory 1) (func (i64.store (i32.const 0) (f32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:287:43: type mismatch at i64.store8. got f64, expected i64 + out/third_party/testsuite/typecheck.wast:287:43: type mismatch at i64.store8. got f64, expected i64 ...valid (module (memory 1) (func (i64.store8 (i32.const 0) (f64.const 0)))) ... ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:288:43: type mismatch at i64.store16. got f64, expected i64 + out/third_party/testsuite/typecheck.wast:288:43: type mismatch at i64.store16. got f64, expected i64 ...valid (module (memory 1) (func (i64.store16 (i32.const 0) (f64.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:289:43: type mismatch at i64.store32. got f64, expected i64 + out/third_party/testsuite/typecheck.wast:289:43: type mismatch at i64.store32. got f64, expected i64 ...valid (module (memory 1) (func (i64.store32 (i32.const 0) (f64.const 0))))... ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:290:43: type mismatch at f32.store. got i32, expected f32 + out/third_party/testsuite/typecheck.wast:290:43: type mismatch at f32.store. got i32, expected f32 ...nvalid (module (memory 1) (func (f32.store (i32.const 0) (i32.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:291:43: type mismatch at f64.store. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:291:43: type mismatch at f64.store. got i64, expected f64 ...nvalid (module (memory 1) (func (f64.store (i32.const 0) (i64.const 0)))) ... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:294:32: type mismatch at i32.add. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:294:32: type mismatch at i32.add. got i64, expected i32 (assert_invalid (module (func (i32.add (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:294:32: type mismatch at i32.add. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:294:32: type mismatch at i32.add. got f32, expected i32 (assert_invalid (module (func (i32.add (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:294:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:294:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.add (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:295:32: type mismatch at i32.and. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:295:32: type mismatch at i32.and. got i64, expected i32 (assert_invalid (module (func (i32.and (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:295:32: type mismatch at i32.and. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:295:32: type mismatch at i32.and. got f32, expected i32 (assert_invalid (module (func (i32.and (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:295:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:295:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.and (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:296:32: type mismatch at i32.div_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:296:32: type mismatch at i32.div_s. got i64, expected i32 (assert_invalid (module (func (i32.div_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:296:32: type mismatch at i32.div_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:296:32: type mismatch at i32.div_s. got f32, expected i32 (assert_invalid (module (func (i32.div_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:296:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:296:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.div_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:297:32: type mismatch at i32.div_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:297:32: type mismatch at i32.div_u. got i64, expected i32 (assert_invalid (module (func (i32.div_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:297:32: type mismatch at i32.div_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:297:32: type mismatch at i32.div_u. got f32, expected i32 (assert_invalid (module (func (i32.div_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:297:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:297:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.div_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:298:32: type mismatch at i32.mul. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:298:32: type mismatch at i32.mul. got i64, expected i32 (assert_invalid (module (func (i32.mul (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:298:32: type mismatch at i32.mul. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:298:32: type mismatch at i32.mul. got f32, expected i32 (assert_invalid (module (func (i32.mul (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:298:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:298:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.mul (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:299:32: type mismatch at i32.or. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:299:32: type mismatch at i32.or. got i64, expected i32 (assert_invalid (module (func (i32.or (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:299:32: type mismatch at i32.or. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:299:32: type mismatch at i32.or. got f32, expected i32 (assert_invalid (module (func (i32.or (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:299:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:299:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i32.or (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:300:32: type mismatch at i32.rem_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:300:32: type mismatch at i32.rem_s. got i64, expected i32 (assert_invalid (module (func (i32.rem_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:300:32: type mismatch at i32.rem_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:300:32: type mismatch at i32.rem_s. got f32, expected i32 (assert_invalid (module (func (i32.rem_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:300:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:300:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.rem_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:301:32: type mismatch at i32.rem_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:301:32: type mismatch at i32.rem_u. got i64, expected i32 (assert_invalid (module (func (i32.rem_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:301:32: type mismatch at i32.rem_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:301:32: type mismatch at i32.rem_u. got f32, expected i32 (assert_invalid (module (func (i32.rem_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:301:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:301:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.rem_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:302:32: type mismatch at i32.rotl. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:302:32: type mismatch at i32.rotl. got i64, expected i32 (assert_invalid (module (func (i32.rotl (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:302:32: type mismatch at i32.rotl. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:302:32: type mismatch at i32.rotl. got f32, expected i32 (assert_invalid (module (func (i32.rotl (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:302:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:302:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.rotl (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:303:32: type mismatch at i32.rotr. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:303:32: type mismatch at i32.rotr. got i64, expected i32 (assert_invalid (module (func (i32.rotr (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:303:32: type mismatch at i32.rotr. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:303:32: type mismatch at i32.rotr. got f32, expected i32 (assert_invalid (module (func (i32.rotr (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:303:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:303:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.rotr (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:304:32: type mismatch at i32.shl. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:304:32: type mismatch at i32.shl. got i64, expected i32 (assert_invalid (module (func (i32.shl (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:304:32: type mismatch at i32.shl. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:304:32: type mismatch at i32.shl. got f32, expected i32 (assert_invalid (module (func (i32.shl (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:304:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:304:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.shl (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:305:32: type mismatch at i32.shr_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:305:32: type mismatch at i32.shr_s. got i64, expected i32 (assert_invalid (module (func (i32.shr_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:305:32: type mismatch at i32.shr_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:305:32: type mismatch at i32.shr_s. got f32, expected i32 (assert_invalid (module (func (i32.shr_s (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:305:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:305:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.shr_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:306:32: type mismatch at i32.shr_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:306:32: type mismatch at i32.shr_u. got i64, expected i32 (assert_invalid (module (func (i32.shr_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:306:32: type mismatch at i32.shr_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:306:32: type mismatch at i32.shr_u. got f32, expected i32 (assert_invalid (module (func (i32.shr_u (i64.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:306:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:306:25: type stack at end of function is 1. expected 0 ...valid (module (func (i32.shr_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:307:32: type mismatch at i32.sub. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:307:32: type mismatch at i32.sub. got i64, expected i32 (assert_invalid (module (func (i32.sub (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:307:32: type mismatch at i32.sub. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:307:32: type mismatch at i32.sub. got f32, expected i32 (assert_invalid (module (func (i32.sub (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:307:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:307:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.sub (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:308:32: type mismatch at i32.xor. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:308:32: type mismatch at i32.xor. got i64, expected i32 (assert_invalid (module (func (i32.xor (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:308:32: type mismatch at i32.xor. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:308:32: type mismatch at i32.xor. got f32, expected i32 (assert_invalid (module (func (i32.xor (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:308:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:308:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.xor (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:309:32: type mismatch at i64.add. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:309:32: type mismatch at i64.add. got i32, expected i64 (assert_invalid (module (func (i64.add (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:309:32: type mismatch at i64.add. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:309:32: type mismatch at i64.add. got f32, expected i64 (assert_invalid (module (func (i64.add (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:309:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:309:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.add (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:310:32: type mismatch at i64.and. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:310:32: type mismatch at i64.and. got i32, expected i64 (assert_invalid (module (func (i64.and (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:310:32: type mismatch at i64.and. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:310:32: type mismatch at i64.and. got f32, expected i64 (assert_invalid (module (func (i64.and (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:310:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:310:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.and (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:311:32: type mismatch at i64.div_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:311:32: type mismatch at i64.div_s. got i32, expected i64 (assert_invalid (module (func (i64.div_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:311:32: type mismatch at i64.div_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:311:32: type mismatch at i64.div_s. got f32, expected i64 (assert_invalid (module (func (i64.div_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:311:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:311:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.div_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:312:32: type mismatch at i64.div_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:312:32: type mismatch at i64.div_u. got i32, expected i64 (assert_invalid (module (func (i64.div_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:312:32: type mismatch at i64.div_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:312:32: type mismatch at i64.div_u. got f32, expected i64 (assert_invalid (module (func (i64.div_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:312:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:312:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.div_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:313:32: type mismatch at i64.mul. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:313:32: type mismatch at i64.mul. got i32, expected i64 (assert_invalid (module (func (i64.mul (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:313:32: type mismatch at i64.mul. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:313:32: type mismatch at i64.mul. got f32, expected i64 (assert_invalid (module (func (i64.mul (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:313:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:313:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.mul (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:314:32: type mismatch at i64.or. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:314:32: type mismatch at i64.or. got i32, expected i64 (assert_invalid (module (func (i64.or (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:314:32: type mismatch at i64.or. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:314:32: type mismatch at i64.or. got f32, expected i64 (assert_invalid (module (func (i64.or (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:314:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:314:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i64.or (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:315:32: type mismatch at i64.rem_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:315:32: type mismatch at i64.rem_s. got i32, expected i64 (assert_invalid (module (func (i64.rem_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:315:32: type mismatch at i64.rem_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:315:32: type mismatch at i64.rem_s. got f32, expected i64 (assert_invalid (module (func (i64.rem_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:315:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:315:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.rem_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:316:32: type mismatch at i64.rem_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:316:32: type mismatch at i64.rem_u. got i32, expected i64 (assert_invalid (module (func (i64.rem_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:316:32: type mismatch at i64.rem_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:316:32: type mismatch at i64.rem_u. got f32, expected i64 (assert_invalid (module (func (i64.rem_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:316:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:316:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.rem_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:317:32: type mismatch at i64.rotl. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:317:32: type mismatch at i64.rotl. got i32, expected i64 (assert_invalid (module (func (i64.rotl (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:317:32: type mismatch at i64.rotl. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:317:32: type mismatch at i64.rotl. got f32, expected i64 (assert_invalid (module (func (i64.rotl (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:317:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:317:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.rotl (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:318:32: type mismatch at i64.rotr. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:318:32: type mismatch at i64.rotr. got i32, expected i64 (assert_invalid (module (func (i64.rotr (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:318:32: type mismatch at i64.rotr. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:318:32: type mismatch at i64.rotr. got f32, expected i64 (assert_invalid (module (func (i64.rotr (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:318:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:318:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.rotr (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:319:32: type mismatch at i64.shl. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:319:32: type mismatch at i64.shl. got i32, expected i64 (assert_invalid (module (func (i64.shl (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:319:32: type mismatch at i64.shl. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:319:32: type mismatch at i64.shl. got f32, expected i64 (assert_invalid (module (func (i64.shl (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:319:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:319:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.shl (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:320:32: type mismatch at i64.shr_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:320:32: type mismatch at i64.shr_s. got i32, expected i64 (assert_invalid (module (func (i64.shr_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:320:32: type mismatch at i64.shr_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:320:32: type mismatch at i64.shr_s. got f32, expected i64 (assert_invalid (module (func (i64.shr_s (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:320:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:320:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.shr_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:321:32: type mismatch at i64.shr_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:321:32: type mismatch at i64.shr_u. got i32, expected i64 (assert_invalid (module (func (i64.shr_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:321:32: type mismatch at i64.shr_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:321:32: type mismatch at i64.shr_u. got f32, expected i64 (assert_invalid (module (func (i64.shr_u (i32.const 0) (f32.const 0)))) "type... ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:321:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:321:25: type stack at end of function is 1. expected 0 ...valid (module (func (i64.shr_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:322:32: type mismatch at i64.sub. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:322:32: type mismatch at i64.sub. got i32, expected i64 (assert_invalid (module (func (i64.sub (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:322:32: type mismatch at i64.sub. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:322:32: type mismatch at i64.sub. got f32, expected i64 (assert_invalid (module (func (i64.sub (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:322:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:322:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.sub (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:323:32: type mismatch at i64.xor. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:323:32: type mismatch at i64.xor. got i32, expected i64 (assert_invalid (module (func (i64.xor (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:323:32: type mismatch at i64.xor. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:323:32: type mismatch at i64.xor. got f32, expected i64 (assert_invalid (module (func (i64.xor (i32.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:323:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:323:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.xor (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:324:32: type mismatch at f32.add. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:324:32: type mismatch at f32.add. got i64, expected f32 (assert_invalid (module (func (f32.add (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:324:32: type mismatch at f32.add. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:324:32: type mismatch at f32.add. got f64, expected f32 (assert_invalid (module (func (f32.add (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:324:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:324:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.add (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:325:32: type mismatch at f32.copysign. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:325:32: type mismatch at f32.copysign. got i64, expected f32 (assert_invalid (module (func (f32.copysign (i64.const 0) (f64.const 0)))) "t... ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:325:32: type mismatch at f32.copysign. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:325:32: type mismatch at f32.copysign. got f64, expected f32 (assert_invalid (module (func (f32.copysign (i64.const 0) (f64.const 0)))) "t... ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:325:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:325:25: type stack at end of function is 1. expected 0 ...alid (module (func (f32.copysign (i64.const 0) (f64.const 0)))) "type mism... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:326:32: type mismatch at f32.div. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:326:32: type mismatch at f32.div. got i64, expected f32 (assert_invalid (module (func (f32.div (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:326:32: type mismatch at f32.div. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:326:32: type mismatch at f32.div. got f64, expected f32 (assert_invalid (module (func (f32.div (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:326:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:326:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.div (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:327:32: type mismatch at f32.max. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:327:32: type mismatch at f32.max. got i64, expected f32 (assert_invalid (module (func (f32.max (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:327:32: type mismatch at f32.max. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:327:32: type mismatch at f32.max. got f64, expected f32 (assert_invalid (module (func (f32.max (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:327:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:327:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.max (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:328:32: type mismatch at f32.min. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:328:32: type mismatch at f32.min. got i64, expected f32 (assert_invalid (module (func (f32.min (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:328:32: type mismatch at f32.min. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:328:32: type mismatch at f32.min. got f64, expected f32 (assert_invalid (module (func (f32.min (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:328:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:328:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.min (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:329:32: type mismatch at f32.mul. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:329:32: type mismatch at f32.mul. got i64, expected f32 (assert_invalid (module (func (f32.mul (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:329:32: type mismatch at f32.mul. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:329:32: type mismatch at f32.mul. got f64, expected f32 (assert_invalid (module (func (f32.mul (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:329:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:329:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.mul (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:330:32: type mismatch at f32.sub. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:330:32: type mismatch at f32.sub. got i64, expected f32 (assert_invalid (module (func (f32.sub (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:330:32: type mismatch at f32.sub. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:330:32: type mismatch at f32.sub. got f64, expected f32 (assert_invalid (module (func (f32.sub (i64.const 0) (f64.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:330:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:330:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f32.sub (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:331:32: type mismatch at f64.add. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:331:32: type mismatch at f64.add. got i64, expected f64 (assert_invalid (module (func (f64.add (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:331:32: type mismatch at f64.add. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:331:32: type mismatch at f64.add. got f32, expected f64 (assert_invalid (module (func (f64.add (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:331:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:331:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.add (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:332:32: type mismatch at f64.copysign. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:332:32: type mismatch at f64.copysign. got i64, expected f64 (assert_invalid (module (func (f64.copysign (i64.const 0) (f32.const 0)))) "t... ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:332:32: type mismatch at f64.copysign. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:332:32: type mismatch at f64.copysign. got f32, expected f64 (assert_invalid (module (func (f64.copysign (i64.const 0) (f32.const 0)))) "t... ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:332:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:332:25: type stack at end of function is 1. expected 0 ...alid (module (func (f64.copysign (i64.const 0) (f32.const 0)))) "type mism... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:333:32: type mismatch at f64.div. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:333:32: type mismatch at f64.div. got i64, expected f64 (assert_invalid (module (func (f64.div (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:333:32: type mismatch at f64.div. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:333:32: type mismatch at f64.div. got f32, expected f64 (assert_invalid (module (func (f64.div (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:333:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:333:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.div (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:334:32: type mismatch at f64.max. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:334:32: type mismatch at f64.max. got i64, expected f64 (assert_invalid (module (func (f64.max (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:334:32: type mismatch at f64.max. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:334:32: type mismatch at f64.max. got f32, expected f64 (assert_invalid (module (func (f64.max (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:334:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:334:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.max (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:335:32: type mismatch at f64.min. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:335:32: type mismatch at f64.min. got i64, expected f64 (assert_invalid (module (func (f64.min (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:335:32: type mismatch at f64.min. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:335:32: type mismatch at f64.min. got f32, expected f64 (assert_invalid (module (func (f64.min (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:335:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:335:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.min (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:336:32: type mismatch at f64.mul. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:336:32: type mismatch at f64.mul. got i64, expected f64 (assert_invalid (module (func (f64.mul (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:336:32: type mismatch at f64.mul. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:336:32: type mismatch at f64.mul. got f32, expected f64 (assert_invalid (module (func (f64.mul (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:336:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:336:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.mul (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:337:32: type mismatch at f64.sub. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:337:32: type mismatch at f64.sub. got i64, expected f64 (assert_invalid (module (func (f64.sub (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:337:32: type mismatch at f64.sub. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:337:32: type mismatch at f64.sub. got f32, expected f64 (assert_invalid (module (func (f64.sub (i64.const 0) (f32.const 0)))) "type m... ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:337:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:337:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (f64.sub (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:340:32: type mismatch at i32.eqz. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:340:32: type mismatch at i32.eqz. got i64, expected i32 (assert_invalid (module (func (i32.eqz (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:340:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:340:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.eqz (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:341:32: type mismatch at i32.clz. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:341:32: type mismatch at i32.clz. got i64, expected i32 (assert_invalid (module (func (i32.clz (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:341:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:341:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.clz (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:342:32: type mismatch at i32.ctz. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:342:32: type mismatch at i32.ctz. got i64, expected i32 (assert_invalid (module (func (i32.ctz (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:342:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:342:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.ctz (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:343:32: type mismatch at i32.popcnt. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:343:32: type mismatch at i32.popcnt. got i64, expected i32 (assert_invalid (module (func (i32.popcnt (i64.const 0)))) "type mismatch") ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:343:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:343:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.popcnt (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:344:32: type mismatch at i64.eqz. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:344:32: type mismatch at i64.eqz. got i32, expected i64 (assert_invalid (module (func (i64.eqz (i32.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:344:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:344:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.eqz (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:345:32: type mismatch at i64.clz. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:345:32: type mismatch at i64.clz. got i32, expected i64 (assert_invalid (module (func (i64.clz (i32.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:345:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:345:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.clz (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:346:32: type mismatch at i64.ctz. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:346:32: type mismatch at i64.ctz. got i32, expected i64 (assert_invalid (module (func (i64.ctz (i32.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:346:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:346:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.ctz (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:347:32: type mismatch at i64.popcnt. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:347:32: type mismatch at i64.popcnt. got i32, expected i64 (assert_invalid (module (func (i64.popcnt (i32.const 0)))) "type mismatch") ^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:347:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:347:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.popcnt (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:348:32: type mismatch at f32.abs. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:348:32: type mismatch at f32.abs. got i64, expected f32 (assert_invalid (module (func (f32.abs (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:348:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:348:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.abs (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:349:32: type mismatch at f32.ceil. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:349:32: type mismatch at f32.ceil. got i64, expected f32 (assert_invalid (module (func (f32.ceil (i64.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:349:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:349:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.ceil (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:350:32: type mismatch at f32.floor. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:350:32: type mismatch at f32.floor. got i64, expected f32 (assert_invalid (module (func (f32.floor (i64.const 0)))) "type mismatch") ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:350:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:350:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.floor (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:351:32: type mismatch at f32.nearest. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:351:32: type mismatch at f32.nearest. got i64, expected f32 (assert_invalid (module (func (f32.nearest (i64.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:351:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:351:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.nearest (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:352:32: type mismatch at f32.neg. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:352:32: type mismatch at f32.neg. got i64, expected f32 (assert_invalid (module (func (f32.neg (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:352:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:352:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.neg (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:353:32: type mismatch at f32.sqrt. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:353:32: type mismatch at f32.sqrt. got i64, expected f32 (assert_invalid (module (func (f32.sqrt (i64.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:353:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:353:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.sqrt (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:354:32: type mismatch at f32.trunc. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:354:32: type mismatch at f32.trunc. got i64, expected f32 (assert_invalid (module (func (f32.trunc (i64.const 0)))) "type mismatch") ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:354:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:354:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.trunc (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:355:32: type mismatch at f64.abs. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:355:32: type mismatch at f64.abs. got i64, expected f64 (assert_invalid (module (func (f64.abs (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:355:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:355:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.abs (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:356:32: type mismatch at f64.ceil. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:356:32: type mismatch at f64.ceil. got i64, expected f64 (assert_invalid (module (func (f64.ceil (i64.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:356:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:356:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.ceil (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:357:32: type mismatch at f64.floor. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:357:32: type mismatch at f64.floor. got i64, expected f64 (assert_invalid (module (func (f64.floor (i64.const 0)))) "type mismatch") ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:357:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:357:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.floor (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:358:32: type mismatch at f64.nearest. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:358:32: type mismatch at f64.nearest. got i64, expected f64 (assert_invalid (module (func (f64.nearest (i64.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:358:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:358:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.nearest (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:359:32: type mismatch at f64.neg. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:359:32: type mismatch at f64.neg. got i64, expected f64 (assert_invalid (module (func (f64.neg (i64.const 0)))) "type mismatch") ^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:359:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:359:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.neg (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:360:32: type mismatch at f64.sqrt. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:360:32: type mismatch at f64.sqrt. got i64, expected f64 (assert_invalid (module (func (f64.sqrt (i64.const 0)))) "type mismatch") ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:360:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:360:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.sqrt (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:361:32: type mismatch at f64.trunc. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:361:32: type mismatch at f64.trunc. got i64, expected f64 (assert_invalid (module (func (f64.trunc (i64.const 0)))) "type mismatch") ^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:361:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:361:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.trunc (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:364:32: type mismatch at i32.eq. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:364:32: type mismatch at i32.eq. got i64, expected i32 (assert_invalid (module (func (i32.eq (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:364:32: type mismatch at i32.eq. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:364:32: type mismatch at i32.eq. got f32, expected i32 (assert_invalid (module (func (i32.eq (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:364:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:364:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i32.eq (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:365:32: type mismatch at i32.ge_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:365:32: type mismatch at i32.ge_s. got i64, expected i32 (assert_invalid (module (func (i32.ge_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:365:32: type mismatch at i32.ge_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:365:32: type mismatch at i32.ge_s. got f32, expected i32 (assert_invalid (module (func (i32.ge_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:365:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:365:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.ge_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:366:32: type mismatch at i32.ge_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:366:32: type mismatch at i32.ge_u. got i64, expected i32 (assert_invalid (module (func (i32.ge_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:366:32: type mismatch at i32.ge_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:366:32: type mismatch at i32.ge_u. got f32, expected i32 (assert_invalid (module (func (i32.ge_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:366:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:366:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.ge_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:367:32: type mismatch at i32.gt_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:367:32: type mismatch at i32.gt_s. got i64, expected i32 (assert_invalid (module (func (i32.gt_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:367:32: type mismatch at i32.gt_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:367:32: type mismatch at i32.gt_s. got f32, expected i32 (assert_invalid (module (func (i32.gt_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:367:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:367:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.gt_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:368:32: type mismatch at i32.gt_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:368:32: type mismatch at i32.gt_u. got i64, expected i32 (assert_invalid (module (func (i32.gt_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:368:32: type mismatch at i32.gt_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:368:32: type mismatch at i32.gt_u. got f32, expected i32 (assert_invalid (module (func (i32.gt_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:368:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:368:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.gt_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:369:32: type mismatch at i32.le_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:369:32: type mismatch at i32.le_s. got i64, expected i32 (assert_invalid (module (func (i32.le_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:369:32: type mismatch at i32.le_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:369:32: type mismatch at i32.le_s. got f32, expected i32 (assert_invalid (module (func (i32.le_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:369:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:369:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.le_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:370:32: type mismatch at i32.le_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:370:32: type mismatch at i32.le_u. got i64, expected i32 (assert_invalid (module (func (i32.le_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:370:32: type mismatch at i32.le_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:370:32: type mismatch at i32.le_u. got f32, expected i32 (assert_invalid (module (func (i32.le_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:370:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:370:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.le_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:371:32: type mismatch at i32.lt_s. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:371:32: type mismatch at i32.lt_s. got i64, expected i32 (assert_invalid (module (func (i32.lt_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:371:32: type mismatch at i32.lt_s. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:371:32: type mismatch at i32.lt_s. got f32, expected i32 (assert_invalid (module (func (i32.lt_s (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:371:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:371:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.lt_s (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:372:32: type mismatch at i32.lt_u. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:372:32: type mismatch at i32.lt_u. got i64, expected i32 (assert_invalid (module (func (i32.lt_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:372:32: type mismatch at i32.lt_u. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:372:32: type mismatch at i32.lt_u. got f32, expected i32 (assert_invalid (module (func (i32.lt_u (i64.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:372:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:372:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i32.lt_u (i64.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:373:32: type mismatch at i32.ne. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:373:32: type mismatch at i32.ne. got i64, expected i32 (assert_invalid (module (func (i32.ne (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:373:32: type mismatch at i32.ne. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:373:32: type mismatch at i32.ne. got f32, expected i32 (assert_invalid (module (func (i32.ne (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:373:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:373:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i32.ne (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:374:32: type mismatch at i64.eq. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:374:32: type mismatch at i64.eq. got i32, expected i64 (assert_invalid (module (func (i64.eq (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:374:32: type mismatch at i64.eq. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:374:32: type mismatch at i64.eq. got f32, expected i64 (assert_invalid (module (func (i64.eq (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:374:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:374:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i64.eq (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:375:32: type mismatch at i64.ge_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:375:32: type mismatch at i64.ge_s. got i32, expected i64 (assert_invalid (module (func (i64.ge_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:375:32: type mismatch at i64.ge_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:375:32: type mismatch at i64.ge_s. got f32, expected i64 (assert_invalid (module (func (i64.ge_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:375:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:375:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.ge_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:376:32: type mismatch at i64.ge_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:376:32: type mismatch at i64.ge_u. got i32, expected i64 (assert_invalid (module (func (i64.ge_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:376:32: type mismatch at i64.ge_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:376:32: type mismatch at i64.ge_u. got f32, expected i64 (assert_invalid (module (func (i64.ge_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:376:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:376:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.ge_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:377:32: type mismatch at i64.gt_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:377:32: type mismatch at i64.gt_s. got i32, expected i64 (assert_invalid (module (func (i64.gt_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:377:32: type mismatch at i64.gt_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:377:32: type mismatch at i64.gt_s. got f32, expected i64 (assert_invalid (module (func (i64.gt_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:377:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:377:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.gt_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:378:32: type mismatch at i64.gt_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:378:32: type mismatch at i64.gt_u. got i32, expected i64 (assert_invalid (module (func (i64.gt_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:378:32: type mismatch at i64.gt_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:378:32: type mismatch at i64.gt_u. got f32, expected i64 (assert_invalid (module (func (i64.gt_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:378:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:378:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.gt_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:379:32: type mismatch at i64.le_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:379:32: type mismatch at i64.le_s. got i32, expected i64 (assert_invalid (module (func (i64.le_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:379:32: type mismatch at i64.le_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:379:32: type mismatch at i64.le_s. got f32, expected i64 (assert_invalid (module (func (i64.le_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:379:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:379:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.le_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:380:32: type mismatch at i64.le_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:380:32: type mismatch at i64.le_u. got i32, expected i64 (assert_invalid (module (func (i64.le_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:380:32: type mismatch at i64.le_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:380:32: type mismatch at i64.le_u. got f32, expected i64 (assert_invalid (module (func (i64.le_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:380:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:380:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.le_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:381:32: type mismatch at i64.lt_s. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:381:32: type mismatch at i64.lt_s. got i32, expected i64 (assert_invalid (module (func (i64.lt_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:381:32: type mismatch at i64.lt_s. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:381:32: type mismatch at i64.lt_s. got f32, expected i64 (assert_invalid (module (func (i64.lt_s (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:381:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:381:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.lt_s (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:382:32: type mismatch at i64.lt_u. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:382:32: type mismatch at i64.lt_u. got i32, expected i64 (assert_invalid (module (func (i64.lt_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:382:32: type mismatch at i64.lt_u. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:382:32: type mismatch at i64.lt_u. got f32, expected i64 (assert_invalid (module (func (i64.lt_u (i32.const 0) (f32.const 0)))) "type ... ^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:382:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:382:25: type stack at end of function is 1. expected 0 ...nvalid (module (func (i64.lt_u (i32.const 0) (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:383:32: type mismatch at i64.ne. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:383:32: type mismatch at i64.ne. got i32, expected i64 (assert_invalid (module (func (i64.ne (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:383:32: type mismatch at i64.ne. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:383:32: type mismatch at i64.ne. got f32, expected i64 (assert_invalid (module (func (i64.ne (i32.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:383:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:383:25: type stack at end of function is 1. expected 0 ...invalid (module (func (i64.ne (i32.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:384:32: type mismatch at f32.eq. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:384:32: type mismatch at f32.eq. got i64, expected f32 (assert_invalid (module (func (f32.eq (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:384:32: type mismatch at f32.eq. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:384:32: type mismatch at f32.eq. got f64, expected f32 (assert_invalid (module (func (f32.eq (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:384:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:384:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.eq (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:385:32: type mismatch at f32.ge. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:385:32: type mismatch at f32.ge. got i64, expected f32 (assert_invalid (module (func (f32.ge (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:385:32: type mismatch at f32.ge. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:385:32: type mismatch at f32.ge. got f64, expected f32 (assert_invalid (module (func (f32.ge (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:385:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:385:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.ge (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:386:32: type mismatch at f32.gt. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:386:32: type mismatch at f32.gt. got i64, expected f32 (assert_invalid (module (func (f32.gt (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:386:32: type mismatch at f32.gt. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:386:32: type mismatch at f32.gt. got f64, expected f32 (assert_invalid (module (func (f32.gt (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:386:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:386:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.gt (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:387:32: type mismatch at f32.le. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:387:32: type mismatch at f32.le. got i64, expected f32 (assert_invalid (module (func (f32.le (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:387:32: type mismatch at f32.le. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:387:32: type mismatch at f32.le. got f64, expected f32 (assert_invalid (module (func (f32.le (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:387:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:387:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.le (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:388:32: type mismatch at f32.lt. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:388:32: type mismatch at f32.lt. got i64, expected f32 (assert_invalid (module (func (f32.lt (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:388:32: type mismatch at f32.lt. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:388:32: type mismatch at f32.lt. got f64, expected f32 (assert_invalid (module (func (f32.lt (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:388:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:388:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.lt (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:389:32: type mismatch at f32.ne. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:389:32: type mismatch at f32.ne. got i64, expected f32 (assert_invalid (module (func (f32.ne (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:389:32: type mismatch at f32.ne. got f64, expected f32 + out/third_party/testsuite/typecheck.wast:389:32: type mismatch at f32.ne. got f64, expected f32 (assert_invalid (module (func (f32.ne (i64.const 0) (f64.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:389:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:389:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f32.ne (i64.const 0) (f64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:390:32: type mismatch at f64.eq. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:390:32: type mismatch at f64.eq. got i64, expected f64 (assert_invalid (module (func (f64.eq (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:390:32: type mismatch at f64.eq. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:390:32: type mismatch at f64.eq. got f32, expected f64 (assert_invalid (module (func (f64.eq (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:390:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:390:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.eq (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:391:32: type mismatch at f64.ge. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:391:32: type mismatch at f64.ge. got i64, expected f64 (assert_invalid (module (func (f64.ge (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:391:32: type mismatch at f64.ge. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:391:32: type mismatch at f64.ge. got f32, expected f64 (assert_invalid (module (func (f64.ge (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:391:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:391:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.ge (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:392:32: type mismatch at f64.gt. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:392:32: type mismatch at f64.gt. got i64, expected f64 (assert_invalid (module (func (f64.gt (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:392:32: type mismatch at f64.gt. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:392:32: type mismatch at f64.gt. got f32, expected f64 (assert_invalid (module (func (f64.gt (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:392:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:392:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.gt (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:393:32: type mismatch at f64.le. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:393:32: type mismatch at f64.le. got i64, expected f64 (assert_invalid (module (func (f64.le (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:393:32: type mismatch at f64.le. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:393:32: type mismatch at f64.le. got f32, expected f64 (assert_invalid (module (func (f64.le (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:393:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:393:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.le (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:394:32: type mismatch at f64.lt. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:394:32: type mismatch at f64.lt. got i64, expected f64 (assert_invalid (module (func (f64.lt (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:394:32: type mismatch at f64.lt. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:394:32: type mismatch at f64.lt. got f32, expected f64 (assert_invalid (module (func (f64.lt (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:394:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:394:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.lt (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:395:32: type mismatch at f64.ne. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:395:32: type mismatch at f64.ne. got i64, expected f64 (assert_invalid (module (func (f64.ne (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:395:32: type mismatch at f64.ne. got f32, expected f64 + out/third_party/testsuite/typecheck.wast:395:32: type mismatch at f64.ne. got f32, expected f64 (assert_invalid (module (func (f64.ne (i64.const 0) (f32.const 0)))) "type mi... ^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:395:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:395:25: type stack at end of function is 1. expected 0 ...invalid (module (func (f64.ne (i64.const 0) (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:398:32: type mismatch at i32.wrap/i64. got f32, expected i64 + out/third_party/testsuite/typecheck.wast:398:32: type mismatch at i32.wrap/i64. got f32, expected i64 (assert_invalid (module (func (i32.wrap/i64 (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:398:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:398:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.wrap/i64 (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:399:32: type mismatch at i32.trunc_s/f32. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:399:32: type mismatch at i32.trunc_s/f32. got i64, expected f32 (assert_invalid (module (func (i32.trunc_s/f32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:399:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:399:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.trunc_s/f32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:400:32: type mismatch at i32.trunc_u/f32. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:400:32: type mismatch at i32.trunc_u/f32. got i64, expected f32 (assert_invalid (module (func (i32.trunc_u/f32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:400:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:400:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.trunc_u/f32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:401:32: type mismatch at i32.trunc_s/f64. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:401:32: type mismatch at i32.trunc_s/f64. got i64, expected f64 (assert_invalid (module (func (i32.trunc_s/f64 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:401:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:401:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.trunc_s/f64 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:402:32: type mismatch at i32.trunc_u/f64. got i64, expected f64 + out/third_party/testsuite/typecheck.wast:402:32: type mismatch at i32.trunc_u/f64. got i64, expected f64 (assert_invalid (module (func (i32.trunc_u/f64 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:402:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:402:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i32.trunc_u/f64 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:403:32: type mismatch at i32.reinterpret/f32. got i64, expected f32 + out/third_party/testsuite/typecheck.wast:403:32: type mismatch at i32.reinterpret/f32. got i64, expected f32 (assert_invalid (module (func (i32.reinterpret/f32 (i64.const 0)))) "type mis... ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:403:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:403:25: type stack at end of function is 1. expected 0 ..._invalid (module (func (i32.reinterpret/f32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:404:32: type mismatch at i64.extend_s/i32. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:404:32: type mismatch at i64.extend_s/i32. got f32, expected i32 (assert_invalid (module (func (i64.extend_s/i32 (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:404:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:404:25: type stack at end of function is 1. expected 0 ...ert_invalid (module (func (i64.extend_s/i32 (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:405:32: type mismatch at i64.extend_u/i32. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:405:32: type mismatch at i64.extend_u/i32. got f32, expected i32 (assert_invalid (module (func (i64.extend_u/i32 (f32.const 0)))) "type mismat... ^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:405:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:405:25: type stack at end of function is 1. expected 0 ...ert_invalid (module (func (i64.extend_u/i32 (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:406:32: type mismatch at i64.trunc_s/f32. got i32, expected f32 + out/third_party/testsuite/typecheck.wast:406:32: type mismatch at i64.trunc_s/f32. got i32, expected f32 (assert_invalid (module (func (i64.trunc_s/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:406:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:406:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.trunc_s/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:407:32: type mismatch at i64.trunc_u/f32. got i32, expected f32 + out/third_party/testsuite/typecheck.wast:407:32: type mismatch at i64.trunc_u/f32. got i32, expected f32 (assert_invalid (module (func (i64.trunc_u/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:407:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:407:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.trunc_u/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:408:32: type mismatch at i64.trunc_s/f64. got i32, expected f64 + out/third_party/testsuite/typecheck.wast:408:32: type mismatch at i64.trunc_s/f64. got i32, expected f64 (assert_invalid (module (func (i64.trunc_s/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:408:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:408:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.trunc_s/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:409:32: type mismatch at i64.trunc_u/f64. got i32, expected f64 + out/third_party/testsuite/typecheck.wast:409:32: type mismatch at i64.trunc_u/f64. got i32, expected f64 (assert_invalid (module (func (i64.trunc_u/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:409:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:409:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (i64.trunc_u/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:410:32: type mismatch at i64.reinterpret/f64. got i32, expected f64 + out/third_party/testsuite/typecheck.wast:410:32: type mismatch at i64.reinterpret/f64. got i32, expected f64 (assert_invalid (module (func (i64.reinterpret/f64 (i32.const 0)))) "type mis... ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:410:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:410:25: type stack at end of function is 1. expected 0 ..._invalid (module (func (i64.reinterpret/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:411:32: type mismatch at f32.convert_s/i32. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:411:32: type mismatch at f32.convert_s/i32. got i64, expected i32 (assert_invalid (module (func (f32.convert_s/i32 (i64.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:411:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:411:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f32.convert_s/i32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:412:32: type mismatch at f32.convert_u/i32. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:412:32: type mismatch at f32.convert_u/i32. got i64, expected i32 (assert_invalid (module (func (f32.convert_u/i32 (i64.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:412:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:412:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f32.convert_u/i32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:413:32: type mismatch at f32.convert_s/i64. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:413:32: type mismatch at f32.convert_s/i64. got i32, expected i64 (assert_invalid (module (func (f32.convert_s/i64 (i32.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:413:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:413:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f32.convert_s/i64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:414:32: type mismatch at f32.convert_u/i64. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:414:32: type mismatch at f32.convert_u/i64. got i32, expected i64 (assert_invalid (module (func (f32.convert_u/i64 (i32.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:414:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:414:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f32.convert_u/i64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:415:32: type mismatch at f32.demote/f64. got i32, expected f64 + out/third_party/testsuite/typecheck.wast:415:32: type mismatch at f32.demote/f64. got i32, expected f64 (assert_invalid (module (func (f32.demote/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:415:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:415:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f32.demote/f64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:416:32: type mismatch at f32.reinterpret/i32. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:416:32: type mismatch at f32.reinterpret/i32. got i64, expected i32 (assert_invalid (module (func (f32.reinterpret/i32 (i64.const 0)))) "type mis... ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:416:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:416:25: type stack at end of function is 1. expected 0 ..._invalid (module (func (f32.reinterpret/i32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:417:32: type mismatch at f64.convert_s/i32. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:417:32: type mismatch at f64.convert_s/i32. got i64, expected i32 (assert_invalid (module (func (f64.convert_s/i32 (i64.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:417:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:417:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f64.convert_s/i32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:418:32: type mismatch at f64.convert_u/i32. got i64, expected i32 + out/third_party/testsuite/typecheck.wast:418:32: type mismatch at f64.convert_u/i32. got i64, expected i32 (assert_invalid (module (func (f64.convert_u/i32 (i64.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:418:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:418:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f64.convert_u/i32 (i64.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:419:32: type mismatch at f64.convert_s/i64. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:419:32: type mismatch at f64.convert_s/i64. got i32, expected i64 (assert_invalid (module (func (f64.convert_s/i64 (i32.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:419:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:419:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f64.convert_s/i64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:420:32: type mismatch at f64.convert_u/i64. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:420:32: type mismatch at f64.convert_u/i64. got i32, expected i64 (assert_invalid (module (func (f64.convert_u/i64 (i32.const 0)))) "type misma... ^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:420:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:420:25: type stack at end of function is 1. expected 0 ...rt_invalid (module (func (f64.convert_u/i64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:421:32: type mismatch at f64.promote/f32. got i32, expected f32 + out/third_party/testsuite/typecheck.wast:421:32: type mismatch at f64.promote/f32. got i32, expected f32 (assert_invalid (module (func (f64.promote/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:421:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:421:25: type stack at end of function is 1. expected 0 (assert_invalid (module (func (f64.promote/f32 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:422:32: type mismatch at f64.reinterpret/i64. got i32, expected i64 + out/third_party/testsuite/typecheck.wast:422:32: type mismatch at f64.reinterpret/i64. got i32, expected i64 (assert_invalid (module (func (f64.reinterpret/i64 (i32.const 0)))) "type mis... ^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:422:25: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:422:25: type stack at end of function is 1. expected 0 ..._invalid (module (func (f64.reinterpret/i64 (i32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:425:43: type mismatch at grow_memory. got f32, expected i32 + out/third_party/testsuite/typecheck.wast:425:43: type mismatch at grow_memory. got f32, expected i32 ...valid (module (memory 1) (func (grow_memory (f32.const 0)))) "type mismatch") ^^^^^^^^^^^ assert_invalid error: - third_party/testsuite/typecheck.wast:425:36: type stack at end of function is 1. expected 0 + out/third_party/testsuite/typecheck.wast:425:36: type stack at end of function is 1. expected 0 ...valid (module (memory 1) (func (grow_memory (f32.const 0)))) "type mismatch") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 0/0 tests passed. diff --git a/test/typecheck/bad-assertreturn-invoke-type-mismatch.txt b/test/typecheck/bad-assertreturn-invoke-type-mismatch.txt index 696f6f0e..95e1e184 100644 --- a/test/typecheck/bad-assertreturn-invoke-type-mismatch.txt +++ b/test/typecheck/bad-assertreturn-invoke-type-mismatch.txt @@ -5,7 +5,7 @@ (export "foo" 0)) (assert_return (invoke "foo" (f32.const 0)) (i32.const 0)) (;; STDERR ;;; -typecheck/bad-assertreturn-invoke-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( +out/test/typecheck/bad-assertreturn-invoke-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( (export "foo" 0)) ^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-assertreturn-type-mismatch.txt b/test/typecheck/bad-assertreturn-type-mismatch.txt index 7f58695a..098d9d5f 100644 --- a/test/typecheck/bad-assertreturn-type-mismatch.txt +++ b/test/typecheck/bad-assertreturn-type-mismatch.txt @@ -5,7 +5,7 @@ (export "foo" 0)) (assert_return (invoke "foo" (i32.const 0)) (f32.const 0)) (;; STDERR ;;; -typecheck/bad-assertreturn-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( +out/test/typecheck/bad-assertreturn-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( (export "foo" 0)) ^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-binary-type-mismatch-1.txt b/test/typecheck/bad-binary-type-mismatch-1.txt index 3e8e3689..5d142146 100644 --- a/test/typecheck/bad-binary-type-mismatch-1.txt +++ b/test/typecheck/bad-binary-type-mismatch-1.txt @@ -6,7 +6,7 @@ i32.add drop)) (;; STDERR ;;; -typecheck/bad-binary-type-mismatch-1.txt:6:5: type mismatch at i32.add. got f32, expected i32 +out/test/typecheck/bad-binary-type-mismatch-1.txt:6:5: type mismatch at i32.add. got f32, expected i32 i32.add ^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-binary-type-mismatch-2.txt b/test/typecheck/bad-binary-type-mismatch-2.txt index 8edf24e7..2e92103e 100644 --- a/test/typecheck/bad-binary-type-mismatch-2.txt +++ b/test/typecheck/bad-binary-type-mismatch-2.txt @@ -6,7 +6,7 @@ i32.add drop)) (;; STDERR ;;; -typecheck/bad-binary-type-mismatch-2.txt:6:5: type mismatch at i32.add. got f32, expected i32 +out/test/typecheck/bad-binary-type-mismatch-2.txt:6:5: type mismatch at i32.add. got f32, expected i32 i32.add ^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-br-multi-type.txt b/test/typecheck/bad-br-multi-type.txt index d107724d..dd83e1c9 100644 --- a/test/typecheck/bad-br-multi-type.txt +++ b/test/typecheck/bad-br-multi-type.txt @@ -7,10 +7,10 @@ f32.const 2 end)) (;; STDERR ;;; -typecheck/bad-br-multi-type.txt:3:3: type stack size too small at function. got 0, expected at least 1 +out/test/typecheck/bad-br-multi-type.txt:3:3: type stack size too small at function. got 0, expected at least 1 (func (result f32) ^^^^^^ -typecheck/bad-br-multi-type.txt:3:3: type stack at end of function is 0. expected 1 +out/test/typecheck/bad-br-multi-type.txt:3:3: type stack at end of function is 0. expected 1 (func (result f32) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-brtable-type-mismatch.txt b/test/typecheck/bad-brtable-type-mismatch.txt index e9109b00..433c6ad9 100644 --- a/test/typecheck/bad-brtable-type-mismatch.txt +++ b/test/typecheck/bad-brtable-type-mismatch.txt @@ -11,7 +11,7 @@ end i32.const 2)) (;; STDERR ;;; -typecheck/bad-brtable-type-mismatch.txt:7:9: type mismatch at br_table key. got f32, expected i32 +out/test/typecheck/bad-brtable-type-mismatch.txt:7:9: type mismatch at br_table key. got f32, expected i32 br_table 0 1 ^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-call-result-mismatch.txt b/test/typecheck/bad-call-result-mismatch.txt index de931bec..a84b5ca9 100644 --- a/test/typecheck/bad-call-result-mismatch.txt +++ b/test/typecheck/bad-call-result-mismatch.txt @@ -23,7 +23,7 @@ nop end)) (;; STDERR ;;; -typecheck/bad-call-result-mismatch.txt:3:11: syntax error, unexpected VAR, expecting TEXT +out/test/typecheck/bad-call-result-mismatch.txt:3:11: syntax error, unexpected VAR, expecting TEXT (import $import "foo" "bar" (result f32)) ^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-call-type-mismatch.txt b/test/typecheck/bad-call-type-mismatch.txt index 23564f59..4ae136a4 100644 --- a/test/typecheck/bad-call-type-mismatch.txt +++ b/test/typecheck/bad-call-type-mismatch.txt @@ -5,7 +5,7 @@ i64.const 0 call 0)) (;; STDERR ;;; -typecheck/bad-call-type-mismatch.txt:6:5: type mismatch for argument 0 of call. got i64, expected i32 +out/test/typecheck/bad-call-type-mismatch.txt:6:5: type mismatch for argument 0 of call. got i64, expected i32 call 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-callimport-type-mismatch.txt b/test/typecheck/bad-callimport-type-mismatch.txt index 0e49b7ed..75dfdd34 100644 --- a/test/typecheck/bad-callimport-type-mismatch.txt +++ b/test/typecheck/bad-callimport-type-mismatch.txt @@ -5,7 +5,7 @@ f32.const 0 call 0)) (;; STDERR ;;; -typecheck/bad-callimport-type-mismatch.txt:6:5: type mismatch for argument 0 of call. got f32, expected i32 +out/test/typecheck/bad-callimport-type-mismatch.txt:6:5: type mismatch for argument 0 of call. got f32, expected i32 call 0)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-callindirect-func-type-mismatch.txt b/test/typecheck/bad-callindirect-func-type-mismatch.txt index 5509212e..84f35a48 100644 --- a/test/typecheck/bad-callindirect-func-type-mismatch.txt +++ b/test/typecheck/bad-callindirect-func-type-mismatch.txt @@ -6,7 +6,7 @@ f32.const 0 call_indirect $t)) (;; STDERR ;;; -typecheck/bad-callindirect-func-type-mismatch.txt:7:5: type mismatch at call_indirect function index. got f32, expected i32 +out/test/typecheck/bad-callindirect-func-type-mismatch.txt:7:5: type mismatch at call_indirect function index. got f32, expected i32 call_indirect $t)) ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-callindirect-type-mismatch.txt b/test/typecheck/bad-callindirect-type-mismatch.txt index f84ea930..2e6896ef 100644 --- a/test/typecheck/bad-callindirect-type-mismatch.txt +++ b/test/typecheck/bad-callindirect-type-mismatch.txt @@ -9,7 +9,7 @@ call_indirect $t drop)) (;; STDERR ;;; -typecheck/bad-callindirect-type-mismatch.txt:9:5: type mismatch for argument 0 of call_indirect. got f32, expected i32 +out/test/typecheck/bad-callindirect-type-mismatch.txt:9:5: type mismatch for argument 0 of call_indirect. got f32, expected i32 call_indirect $t ^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-cast-type-mismatch.txt b/test/typecheck/bad-cast-type-mismatch.txt index ac2c0470..ac77b6b8 100644 --- a/test/typecheck/bad-cast-type-mismatch.txt +++ b/test/typecheck/bad-cast-type-mismatch.txt @@ -5,7 +5,7 @@ f32.reinterpret/i32 drop)) (;; STDERR ;;; -typecheck/bad-cast-type-mismatch.txt:5:5: type mismatch at f32.reinterpret/i32. got f32, expected i32 +out/test/typecheck/bad-cast-type-mismatch.txt:5:5: type mismatch at f32.reinterpret/i32. got f32, expected i32 f32.reinterpret/i32 ^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-compare-type-mismatch-1.txt b/test/typecheck/bad-compare-type-mismatch-1.txt index 2ce4ed59..cd732985 100644 --- a/test/typecheck/bad-compare-type-mismatch-1.txt +++ b/test/typecheck/bad-compare-type-mismatch-1.txt @@ -6,7 +6,7 @@ i32.eq drop)) (;; STDERR ;;; -typecheck/bad-compare-type-mismatch-1.txt:6:5: type mismatch at i32.eq. got f32, expected i32 +out/test/typecheck/bad-compare-type-mismatch-1.txt:6:5: type mismatch at i32.eq. got f32, expected i32 i32.eq ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-compare-type-mismatch-2.txt b/test/typecheck/bad-compare-type-mismatch-2.txt index 7c0e56e1..3c5e3990 100644 --- a/test/typecheck/bad-compare-type-mismatch-2.txt +++ b/test/typecheck/bad-compare-type-mismatch-2.txt @@ -6,7 +6,7 @@ f32.lt drop)) (;; STDERR ;;; -typecheck/bad-compare-type-mismatch-2.txt:6:5: type mismatch at f32.lt. got i32, expected f32 +out/test/typecheck/bad-compare-type-mismatch-2.txt:6:5: type mismatch at f32.lt. got i32, expected f32 f32.lt ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-convert-type-mismatch.txt b/test/typecheck/bad-convert-type-mismatch.txt index f59a7a48..2f913ec3 100644 --- a/test/typecheck/bad-convert-type-mismatch.txt +++ b/test/typecheck/bad-convert-type-mismatch.txt @@ -5,7 +5,7 @@ i32.trunc_s/f32 drop)) (;; STDERR ;;; -typecheck/bad-convert-type-mismatch.txt:5:5: type mismatch at i32.trunc_s/f32. got i32, expected f32 +out/test/typecheck/bad-convert-type-mismatch.txt:5:5: type mismatch at i32.trunc_s/f32. got i32, expected f32 i32.trunc_s/f32 ^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-expr-if.txt b/test/typecheck/bad-expr-if.txt index 0f4e7a87..c3b81c1a 100644 --- a/test/typecheck/bad-expr-if.txt +++ b/test/typecheck/bad-expr-if.txt @@ -9,10 +9,10 @@ end i32.add)) (;; STDERR ;;; -typecheck/bad-expr-if.txt:10:5: type stack size too small at i32.add. got 1, expected at least 2 +out/test/typecheck/bad-expr-if.txt:10:5: type stack size too small at i32.add. got 1, expected at least 2 i32.add)) ^^^^^^^ -typecheck/bad-expr-if.txt:3:3: type stack at end of function is 2. expected 1 +out/test/typecheck/bad-expr-if.txt:3:3: type stack at end of function is 2. expected 1 (func (result i32) ^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-function-result-type-mismatch.txt b/test/typecheck/bad-function-result-type-mismatch.txt index da1deccc..b9f62622 100644 --- a/test/typecheck/bad-function-result-type-mismatch.txt +++ b/test/typecheck/bad-function-result-type-mismatch.txt @@ -3,7 +3,7 @@ (func (result i32) f32.const 0)) (;; STDERR ;;; -typecheck/bad-function-result-type-mismatch.txt:3:3: type mismatch at function. got f32, expected i32 +out/test/typecheck/bad-function-result-type-mismatch.txt:3:3: type mismatch at function. got f32, expected i32 (func (result i32) ^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-global-getglobal-type-mismatch.txt b/test/typecheck/bad-global-getglobal-type-mismatch.txt index 5289d71d..9993f5ae 100644 --- a/test/typecheck/bad-global-getglobal-type-mismatch.txt +++ b/test/typecheck/bad-global-getglobal-type-mismatch.txt @@ -3,7 +3,7 @@ (import "foo" "bar" (global i32)) (global f32 (get_global 0))) (;; STDERR ;;; -typecheck/bad-global-getglobal-type-mismatch.txt:4:16: type mismatch at global initializer expression. got i32, expected f32 +out/test/typecheck/bad-global-getglobal-type-mismatch.txt:4:16: type mismatch at global initializer expression. got i32, expected f32 (global f32 (get_global 0))) ^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-global-no-init-expr.txt b/test/typecheck/bad-global-no-init-expr.txt index e611d64d..1e965b7b 100644 --- a/test/typecheck/bad-global-no-init-expr.txt +++ b/test/typecheck/bad-global-no-init-expr.txt @@ -3,10 +3,10 @@ (global i32) (global (mut f32))) (;; STDERR ;;; -typecheck/bad-global-no-init-expr.txt:3:3: type mismatch at global initializer expression. got void, expected i32 +out/test/typecheck/bad-global-no-init-expr.txt:3:3: type mismatch at global initializer expression. got void, expected i32 (global i32) ^^^^^^^^^^^^ -typecheck/bad-global-no-init-expr.txt:4:3: type mismatch at global initializer expression. got void, expected f32 +out/test/typecheck/bad-global-no-init-expr.txt:4:3: type mismatch at global initializer expression. got void, expected f32 (global (mut f32))) ^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-global-type-mismatch.txt b/test/typecheck/bad-global-type-mismatch.txt index c821f073..f1473afa 100644 --- a/test/typecheck/bad-global-type-mismatch.txt +++ b/test/typecheck/bad-global-type-mismatch.txt @@ -2,7 +2,7 @@ (module (global i32 (f32.const 1))) (;; STDERR ;;; -typecheck/bad-global-type-mismatch.txt:3:16: type mismatch at global initializer expression. got f32, expected i32 +out/test/typecheck/bad-global-type-mismatch.txt:3:16: type mismatch at global initializer expression. got f32, expected i32 (global i32 (f32.const 1))) ^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-grow-memory-type-mismatch.txt b/test/typecheck/bad-grow-memory-type-mismatch.txt index 241d8391..42545188 100644 --- a/test/typecheck/bad-grow-memory-type-mismatch.txt +++ b/test/typecheck/bad-grow-memory-type-mismatch.txt @@ -6,7 +6,7 @@ grow_memory drop)) (;; STDERR ;;; -typecheck/bad-grow-memory-type-mismatch.txt:6:5: type mismatch at grow_memory. got f32, expected i32 +out/test/typecheck/bad-grow-memory-type-mismatch.txt:6:5: type mismatch at grow_memory. got f32, expected i32 grow_memory ^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-if-condition-type-mismatch.txt b/test/typecheck/bad-if-condition-type-mismatch.txt index efed49b9..adbc3786 100644 --- a/test/typecheck/bad-if-condition-type-mismatch.txt +++ b/test/typecheck/bad-if-condition-type-mismatch.txt @@ -9,13 +9,13 @@ end) ) (;; STDERR ;;; -typecheck/bad-if-condition-type-mismatch.txt:5:5: type mismatch at if condition. got f32, expected i32 +out/test/typecheck/bad-if-condition-type-mismatch.txt:5:5: type mismatch at if condition. got f32, expected i32 if ^^^ -typecheck/bad-if-condition-type-mismatch.txt:5:5: type stack at end of if true branch is 1. expected 0 +out/test/typecheck/bad-if-condition-type-mismatch.txt:5:5: type stack at end of if true branch is 1. expected 0 if ^^^ -typecheck/bad-if-condition-type-mismatch.txt:5:5: type stack at end of if false branch is 1. expected 0 +out/test/typecheck/bad-if-condition-type-mismatch.txt:5:5: type stack at end of if false branch is 1. expected 0 if ^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-if-type-mismatch.txt b/test/typecheck/bad-if-type-mismatch.txt index fbe17d59..7335e1e4 100644 --- a/test/typecheck/bad-if-type-mismatch.txt +++ b/test/typecheck/bad-if-type-mismatch.txt @@ -9,13 +9,13 @@ end drop)) (;; STDERR ;;; -typecheck/bad-if-type-mismatch.txt:5:5: type stack at end of if true branch is 1. expected 0 +out/test/typecheck/bad-if-type-mismatch.txt:5:5: type stack at end of if true branch is 1. expected 0 if ^^ -typecheck/bad-if-type-mismatch.txt:5:5: type stack at end of if false branch is 1. expected 0 +out/test/typecheck/bad-if-type-mismatch.txt:5:5: type stack at end of if false branch is 1. expected 0 if ^^ -typecheck/bad-if-type-mismatch.txt:10:5: type stack size too small at drop. got 0, expected at least 1 +out/test/typecheck/bad-if-type-mismatch.txt:10:5: type stack size too small at drop. got 0, expected at least 1 drop)) ^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-if-value-void.txt b/test/typecheck/bad-if-value-void.txt index d3e811aa..fedcf453 100644 --- a/test/typecheck/bad-if-value-void.txt +++ b/test/typecheck/bad-if-value-void.txt @@ -10,7 +10,7 @@ end end)) (;; STDERR ;;; -typecheck/bad-if-value-void.txt:6:7: type stack at end of if false branch is 1. expected 0 +out/test/typecheck/bad-if-value-void.txt:6:7: type stack at end of if false branch is 1. expected 0 if ^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-invoke-type-mismatch.txt b/test/typecheck/bad-invoke-type-mismatch.txt index 0c389eb8..004d2de3 100644 --- a/test/typecheck/bad-invoke-type-mismatch.txt +++ b/test/typecheck/bad-invoke-type-mismatch.txt @@ -5,7 +5,7 @@ (export "foo" 0)) (invoke "foo" (f32.const 1.5)) (;; STDERR ;;; -typecheck/bad-invoke-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( +out/test/typecheck/bad-invoke-type-mismatch.txt:5:17: syntax error, unexpected NAT, expecting ( (export "foo" 0)) ^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-label-multi-type.txt b/test/typecheck/bad-label-multi-type.txt index e43b5c98..95ea66b7 100644 --- a/test/typecheck/bad-label-multi-type.txt +++ b/test/typecheck/bad-label-multi-type.txt @@ -10,13 +10,13 @@ f32.const 3 end)) (;; STDERR ;;; -typecheck/bad-label-multi-type.txt:4:5: type stack at end of block is 1. expected 0 +out/test/typecheck/bad-label-multi-type.txt:4:5: type stack at end of block is 1. expected 0 block $done ^^^ -typecheck/bad-label-multi-type.txt:3:3: type stack size too small at function. got 0, expected at least 1 +out/test/typecheck/bad-label-multi-type.txt:3:3: type stack size too small at function. got 0, expected at least 1 (func (result i32) ^^^^^^ -typecheck/bad-label-multi-type.txt:3:3: type stack at end of function is 0. expected 1 +out/test/typecheck/bad-label-multi-type.txt:3:3: type stack at end of function is 0. expected 1 (func (result i32) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-load-type-mismatch.txt b/test/typecheck/bad-load-type-mismatch.txt index 204bb1e8..ada73b6e 100644 --- a/test/typecheck/bad-load-type-mismatch.txt +++ b/test/typecheck/bad-load-type-mismatch.txt @@ -6,7 +6,7 @@ i32.load drop)) (;; STDERR ;;; -typecheck/bad-load-type-mismatch.txt:6:5: type mismatch at i32.load. got f32, expected i32 +out/test/typecheck/bad-load-type-mismatch.txt:6:5: type mismatch at i32.load. got f32, expected i32 i32.load ^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-nested-br.txt b/test/typecheck/bad-nested-br.txt index c9a51b0f..f2304666 100644 --- a/test/typecheck/bad-nested-br.txt +++ b/test/typecheck/bad-nested-br.txt @@ -18,10 +18,10 @@ ;; return statement here, or a value returned from (br $outer). )) (;; STDERR ;;; -typecheck/bad-nested-br.txt:3:3: type stack size too small at function. got 0, expected at least 1 +out/test/typecheck/bad-nested-br.txt:3:3: type stack size too small at function. got 0, expected at least 1 (func (result i32) ^ -typecheck/bad-nested-br.txt:3:3: type stack at end of function is 0. expected 1 +out/test/typecheck/bad-nested-br.txt:3:3: type stack at end of function is 0. expected 1 (func (result i32) ^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-return-type-mismatch.txt b/test/typecheck/bad-return-type-mismatch.txt index 1ac1f095..2bdae27b 100644 --- a/test/typecheck/bad-return-type-mismatch.txt +++ b/test/typecheck/bad-return-type-mismatch.txt @@ -4,7 +4,7 @@ f32.const 0 return)) (;; STDERR ;;; -typecheck/bad-return-type-mismatch.txt:5:5: type mismatch at return. got f32, expected i32 +out/test/typecheck/bad-return-type-mismatch.txt:5:5: type mismatch at return. got f32, expected i32 return)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-select-cond.txt b/test/typecheck/bad-select-cond.txt index c6e976a1..07c8504d 100644 --- a/test/typecheck/bad-select-cond.txt +++ b/test/typecheck/bad-select-cond.txt @@ -6,7 +6,7 @@ f32.const 0 select)) (;; STDERR ;;; -typecheck/bad-select-cond.txt:7:5: type mismatch at select. got f32, expected i32 +out/test/typecheck/bad-select-cond.txt:7:5: type mismatch at select. got f32, expected i32 select)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-select-value0.txt b/test/typecheck/bad-select-value0.txt index b1b19d8e..6013276c 100644 --- a/test/typecheck/bad-select-value0.txt +++ b/test/typecheck/bad-select-value0.txt @@ -6,7 +6,7 @@ i32.const 0 select)) (;; STDERR ;;; -typecheck/bad-select-value0.txt:7:5: type mismatch at select. got f64, expected f32 +out/test/typecheck/bad-select-value0.txt:7:5: type mismatch at select. got f64, expected f32 select)) ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-select-value1.txt b/test/typecheck/bad-select-value1.txt index 4746d8f0..d998a1d4 100644 --- a/test/typecheck/bad-select-value1.txt +++ b/test/typecheck/bad-select-value1.txt @@ -7,7 +7,7 @@ select drop)) (;; STDERR ;;; -typecheck/bad-select-value1.txt:7:5: type mismatch at select. got i64, expected f32 +out/test/typecheck/bad-select-value1.txt:7:5: type mismatch at select. got i64, expected f32 select ^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-setlocal-type-mismatch.txt b/test/typecheck/bad-setlocal-type-mismatch.txt index 1d69f178..20bb3e86 100644 --- a/test/typecheck/bad-setlocal-type-mismatch.txt +++ b/test/typecheck/bad-setlocal-type-mismatch.txt @@ -4,7 +4,7 @@ f32.const 0 set_local 0)) (;; STDERR ;;; -typecheck/bad-setlocal-type-mismatch.txt:5:5: type mismatch at set_local. got f32, expected i32 +out/test/typecheck/bad-setlocal-type-mismatch.txt:5:5: type mismatch at set_local. got f32, expected i32 set_local 0)) ^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-store-index-type-mismatch.txt b/test/typecheck/bad-store-index-type-mismatch.txt index 1f3b7038..de9bb5de 100644 --- a/test/typecheck/bad-store-index-type-mismatch.txt +++ b/test/typecheck/bad-store-index-type-mismatch.txt @@ -6,7 +6,7 @@ f32.const 0 i32.store)) (;; STDERR ;;; -typecheck/bad-store-index-type-mismatch.txt:7:5: type mismatch at i32.store. got f32, expected i32 +out/test/typecheck/bad-store-index-type-mismatch.txt:7:5: type mismatch at i32.store. got f32, expected i32 i32.store)) ^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/typecheck/bad-unary-type-mismatch.txt b/test/typecheck/bad-unary-type-mismatch.txt index cb71b0ac..9c2e4e33 100644 --- a/test/typecheck/bad-unary-type-mismatch.txt +++ b/test/typecheck/bad-unary-type-mismatch.txt @@ -5,7 +5,7 @@ f32.neg drop)) (;; STDERR ;;; -typecheck/bad-unary-type-mismatch.txt:5:5: type mismatch at f32.neg. got f64, expected f32 +out/test/typecheck/bad-unary-type-mismatch.txt:5:5: type mismatch at f32.neg. got f64, expected f32 f32.neg ^^^^^^^ ;;; STDERR ;;) |