From: Robert Daniel Kortschak Date: Fri, 8 Feb 2013 21:00:59 +0000 (-0500) Subject: cmd/go: indicate that flags unrecognized by 'go test' must follow package specification X-Git-Tag: go1.1rc2~1098 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=482f3e8481465bccefea2a0093e5fbeefb30bb29;p=gostls13.git cmd/go: indicate that flags unrecognized by 'go test' must follow package specification R=rsc, minux.ma CC=golang-dev https://golang.org/cl/7300063 --- diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index 6de4405625..101ecf1c2d 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -766,6 +766,8 @@ will compile the test binary and then run it as The test flags that generate profiles also leave the test binary in pkg.test for use when analyzing the profiles. +Flags not recognized by 'go test' must be placed after any specified packages. + Description of testing functions diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 48c77fc049..9a8e11d27c 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -167,6 +167,8 @@ will compile the test binary and then run it as The test flags that generate profiles also leave the test binary in pkg.test for use when analyzing the profiles. + +Flags not recognized by 'go test' must be placed after any specified packages. `, }