]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/syntax: silence test function output
authorRobert Griesemer <gri@golang.org>
Tue, 29 Oct 2019 16:27:57 +0000 (09:27 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 6 Nov 2019 17:02:19 +0000 (17:02 +0000)
commit4cb926001cbc068dac62012d86ed1dfbd0a66690
tree801658d1de16c1ea23178f2c88f35d371e675027
parenta5936a489462a2f68ee2ae1a53dd48c0458029a7
cmd/compile/internal/syntax: silence test function output

Don't print to stdout in non-verbose (-v) test mode.

Exception: Timing output (2 lines) of TestStdLib. If
we want to disable that as well we should use another
flag to differenciate between -verbose output and
measurement results. Leaving alone for now.

Fixes #35223.

Change-Id: Ie8160760e8db1138f9031888d654eaeab202128c
Reviewed-on: https://go-review.googlesource.com/c/go/+/204039
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/syntax/dumper_test.go
src/cmd/compile/internal/syntax/printer_test.go
src/cmd/compile/internal/syntax/scanner_test.go