commit | f8176f81115b5b9b58ddfe4b37e0565fd599fecd | [log] [tgz] |
---|---|---|
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | Fri Feb 06 17:47:54 2015 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Feb 09 18:20:28 2015 +0000 |
tree | 37d39231b6e74fe40d3e3abbbad0f85e589bf331 | |
parent | acfe3a59bd324cc70e8642bc07e8578f0ac64cd9 [diff] |
cmd/go: stream test output if parallelism is set to 1. "go test -v" buffers output if more than one package is being tested to avoid mixing the outputs from multiple tests running in parallel. It currently enables streaming if there's only a single package under test. It is ok to stream output from multiple tests if we know that they're not going to be running in parallel. To see the difference: go test -v -p=1 runtime fmt -short Change-Id: Idc24575c899eac30d553e0bf52b86f90e189392d Reviewed-on: https://go-review.googlesource.com/4153 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
Our canonical Git repository is located at https://go.googlesource.com/go. (There is a mirror of the repository at https://github.com/golang/go.)
Please report issues here: https://golang.org/issue/new
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.