summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-10-06 10:41:52 -0700
committerRob Pike <r@golang.org>2011-10-06 10:41:52 -0700
commitf5cd7794a0d1659c3117851484ffa2cf3adc1fff (patch)
treec6b4c9745d228636790806e7b25b931cf07fa545
parent8fe2c8dba7edc6d048d199ca59ed5c84d14e9c4b (diff)
downloadgo-f5cd7794a0d1659c3117851484ffa2cf3adc1fff.tar.gz
gotest: document -test.parallel
R=golang-dev, bradfitz, dsymonds, gri CC=golang-dev http://codereview.appspot.com/5223043
-rw-r--r--src/cmd/gotest/doc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/gotest/doc.go b/src/cmd/gotest/doc.go
index 5be06f817..3ec425b40 100644
--- a/src/cmd/gotest/doc.go
+++ b/src/cmd/gotest/doc.go
@@ -54,6 +54,7 @@ Usage:
6.out [-test.v] [-test.run pattern] [-test.bench pattern] \
[-test.cpuprofile=cpu.out] \
[-test.memprofile=mem.out] [-test.memprofilerate=1] \
+ [-test.parallel=0] \
[-test.timeout=10] [-test.short] \
[-test.benchtime=3] [-test.cpu=1,2,3,4]
@@ -86,6 +87,10 @@ collection.
Use -test.run or -test.bench to limit profiling to a particular test
or benchmark.
+The -test.parallel flag allows parallel execution of Test functions
+that call test.Parallel. The value of the flag is the maximum number
+of tests to run simultaneously; by default, parallelism is disabled.
+
The -test.short flag tells long-running tests to shorten their run
time. It is off by default but set by all.bash so installations of
the Go tree can do a sanity check but not spend time running