]> Cypherpunks repositories - gostls13.git/commit
cmd/go: send output of build and install to stderr
authorJeff R. Allen <jra@nella.org>
Mon, 11 Mar 2013 00:31:14 +0000 (11:31 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 11 Mar 2013 00:31:14 +0000 (11:31 +1100)
commit53f034c7a87c2d802b992bb88814d943c30bf306
tree8aad247104825b31ba6994d2b7e905635ab251c8
parent77d6cf1cd5e563f3862ca306a8bbe25c5fa0dd5f
cmd/go: send output of build and install to stderr

"go build" and "go install" were mixing stdout and stderr
from the toolchain, then putting it all on stdout. With this
change, it stays mixed, and is sent to stderr. Because
the toolchain does not create output in a clean compile/install,
sending all output to stderr makese more sense.

Also fix test.bash because of "mktemp: too few X's
in template `testgo'" on Linux.

Fixes #4917.

R=golang-dev, rsc, adg
CC=golang-dev
https://golang.org/cl/7393073
src/cmd/go/build.go
src/cmd/go/test.bash
src/cmd/go/testdata/errmsg/x.go [deleted file]
src/cmd/go/testdata/errmsg/x1_test.go [deleted file]
src/cmd/go/testdata/errmsg/x_test.go [deleted file]