summaryrefslogtreecommitdiff
path: root/test/binary
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-12-03 14:08:18 -0800
committerGitHub <noreply@github.com>2020-12-03 14:08:18 -0800
commit2a487fc00594a54e5085fb6915e0575db3cb4013 (patch)
treef182043ff899e14fb60f4fa51c698299bff322f6 /test/binary
parent24af5fa65c3c730d4b36810b4e2b0aa43794d29b (diff)
downloadwabt-2a487fc00594a54e5085fb6915e0575db3cb4013.tar.gz
wabt-2a487fc00594a54e5085fb6915e0575db3cb4013.tar.bz2
wabt-2a487fc00594a54e5085fb6915e0575db3cb4013.zip
Use stderr for all logging and error output (#1579)
I'm not sure why we were using stdout but the convention is normally to write all logging and error message to stderr.
Diffstat (limited to 'test/binary')
-rw-r--r--test/binary/bad-logging-basic.txt6
-rw-r--r--test/binary/user-section.txt4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/binary/bad-logging-basic.txt b/test/binary/bad-logging-basic.txt
index a84e6ca8..5c900ecc 100644
--- a/test/binary/bad-logging-basic.txt
+++ b/test/binary/bad-logging-basic.txt
@@ -12,9 +12,6 @@ section(CODE) {
}
}
(;; STDERR ;;;
-0000015: error: function signature count != function body count
-;;; STDERR ;;)
-(;; STDOUT ;;;
BeginModule(version: 1)
BeginTypeSection(4)
OnTypeCount(1)
@@ -25,4 +22,5 @@ BeginModule(version: 1)
OnFunction(index: 0, sig_index: 0)
EndFunctionSection
BeginCodeSection(4)
-;;; STDOUT ;;)
+0000015: error: function signature count != function body count
+;;; STDERR ;;)
diff --git a/test/binary/user-section.txt b/test/binary/user-section.txt
index 41e5aa57..ee021d0a 100644
--- a/test/binary/user-section.txt
+++ b/test/binary/user-section.txt
@@ -6,7 +6,7 @@ section("foo") { count[4] }
section(TYPE) { count[1] function params[0] results[1] i32 }
section("bar") { count[5] }
section("foo") { count[6] }
-(;; STDOUT ;;;
+(;; STDERR ;;;
BeginModule(version: 1)
BeginCustomSection('foo', size: 5)
EndCustomSection
@@ -19,6 +19,8 @@ BeginModule(version: 1)
BeginCustomSection('foo', size: 5)
EndCustomSection
EndModule
+;;; STDERR ;;)
+(;; STDOUT ;;;
(module
(type (;0;) (func (result i32))))
;;; STDOUT ;;)