]> Cypherpunks repositories - gostls13.git/commit
testing: add -outputdir flag so "go test" controls where the files are written
authorRob Pike <r@golang.org>
Thu, 13 Jun 2013 01:13:34 +0000 (18:13 -0700)
committerRob Pike <r@golang.org>
Thu, 13 Jun 2013 01:13:34 +0000 (18:13 -0700)
commit28a1c36d627f179001a9d7180f81d947e6ecdaaf
treed5f9521ba4d876bf3d7bc36e1f0fa418bb10c600
parent0627248a1f13daf5df197560308f5497cf9fd8a8
testing: add -outputdir flag so "go test" controls where the files are written
Obscure misfeature now fixed: When run from "go test", profiles were always
written in the package's source directory. This change puts them in the directory
where "go test" is run.
Also fix a couple of problems causing errors in testing.after to go unreported
unless -v was set.

R=rsc, minux.ma, iant, alex.brainman
CC=golang-dev
https://golang.org/cl/10234044
src/cmd/go/doc.go
src/cmd/go/test.go
src/cmd/go/testflag.go
src/pkg/testing/testing.go