diff options
| author | Kale Blankenship <kale@lemnisys.com> | 2017-06-14 20:11:21 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-06-15 05:57:29 +0000 |
| commit | e7c650bca5fc7a8161527924bc7cb889fb8ab5e0 (patch) | |
| tree | 9c0a661b700fc7f6a9ee0272ec11cbd017d94798 /src/testing/testing.go | |
| parent | 58ce43baaa9c6c41f16c7eabec022fcb2174f2dd (diff) | |
| download | go-e7c650bca5fc7a8161527924bc7cb889fb8ab5e0.tar.xz | |
testing: clarify -timeout flag
Fixes #20090
Change-Id: I881607e55cd946a703e74a7d8ae2bbde67546510
Reviewed-on: https://go-review.googlesource.com/45816
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/testing/testing.go')
| -rw-r--r-- | src/testing/testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go index dbe9089fb5..fa6c36c6d3 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -265,7 +265,7 @@ var ( mutexProfile = flag.String("test.mutexprofile", "", "write a mutex contention profile to the named file after execution") mutexProfileFraction = flag.Int("test.mutexprofilefraction", 1, "if >= 0, calls runtime.SetMutexProfileFraction()") traceFile = flag.String("test.trace", "", "write an execution trace to `file`") - timeout = flag.Duration("test.timeout", 0, "fail test binary execution after duration `d` (0 means unlimited)") + timeout = flag.Duration("test.timeout", 0, "panic test binary after duration `d` (0 means unlimited)") cpuListStr = flag.String("test.cpu", "", "comma-separated `list` of cpu counts to run each test with") parallel = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "run at most `n` tests in parallel") |
