]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: indicate that flags unrecognized by 'go test' must follow package specification
authorRobert Daniel Kortschak <dan.kortschak@adelaide.edu.au>
Fri, 8 Feb 2013 21:00:59 +0000 (16:00 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 8 Feb 2013 21:00:59 +0000 (16:00 -0500)
R=rsc, minux.ma
CC=golang-dev
https://golang.org/cl/7300063

src/cmd/go/doc.go
src/cmd/go/test.go

index 6de44056250fded57e72970da45955b3998756f0..101ecf1c2d6fc2bb3c936724902fd1e30a1a22a2 100644 (file)
@@ -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
 
index 48c77fc0492f9108ed7e8fb048f849a579bd734c..9a8e11d27c1592dd256dedb25f30996a087157d4 100644 (file)
@@ -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.
 `,
 }