]> Cypherpunks repositories - gostls13.git/commitdiff
testing: document -test.bench flag
authorFrancesc Campoy <campoy@golang.org>
Mon, 24 Sep 2012 20:05:47 +0000 (13:05 -0700)
committerFrancesc Campoy <campoy@golang.org>
Mon, 24 Sep 2012 20:05:47 +0000 (13:05 -0700)
Fixes #4080.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/6553068

src/pkg/testing/testing.go

index fddd295cb6f81ff0fd0a83e914e13f95d68dadfd..66d26b8ad8efec61964cd163cc9060bb2a7261cb 100644 (file)
@@ -14,6 +14,9 @@
 //     func BenchmarkXxx(*testing.B)
 // are considered benchmarks, and are executed by the "go test" command when
 // the -test.bench flag is provided. Benchmarks are run sequentially.
+// 
+// For a description of the testing flags, see
+// http://golang.org/cmd/go/#Description_of_testing_flags.
 //
 // A sample benchmark function looks like this:
 //     func BenchmarkHello(b *testing.B) {