cmd/go: document -fuzzminimizetime

Change-Id: I435942ff7285d32ffbc8901d9d7e76544d5aeb61
Reviewed-on: https://go-review.googlesource.com/c/go/+/370881
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Katie Hockman 2021-12-10 14:25:55 -05:00
parent 3e8aa5dd49
commit 7bdbc73be1
2 changed files with 26 additions and 10 deletions

View File

@ -2861,11 +2861,19 @@
// section of the testing package documentation for details. // section of the testing package documentation for details.
// //
// -fuzztime t // -fuzztime t
// Run enough iterations of the fuzz test to take t, specified as a // Run enough iterations of the fuzz target during fuzzing to take t,
// time.Duration (for example, -fuzztime 1h30s). The default is to run // specified as a time.Duration (for example, -fuzztime 1h30s).
// forever. // The default is to run forever.
// The special syntax Nx means to run the fuzz test N times // The special syntax Nx means to run the fuzz target N times
// (for example, -fuzztime 100x). // (for example, -fuzztime 1000x).
//
// -fuzzminimizetime t
// Run enough iterations of the fuzz target during each minimization
// attempt to take t, as specified as a time.Duration (for example,
// -fuzzminimizetime 30s).
// The default is 60s.
// The special syntax Nx means to run the fuzz target N times
// (for example, -fuzzminimizetime 100x).
// //
// -json // -json
// Log verbose output and test results in JSON. This presents the // Log verbose output and test results in JSON. This presents the

View File

@ -257,11 +257,19 @@ control the execution of any test:
section of the testing package documentation for details. section of the testing package documentation for details.
-fuzztime t -fuzztime t
Run enough iterations of the fuzz test to take t, specified as a Run enough iterations of the fuzz target during fuzzing to take t,
time.Duration (for example, -fuzztime 1h30s). The default is to run specified as a time.Duration (for example, -fuzztime 1h30s).
forever. The default is to run forever.
The special syntax Nx means to run the fuzz test N times The special syntax Nx means to run the fuzz target N times
(for example, -fuzztime 100x). (for example, -fuzztime 1000x).
-fuzzminimizetime t
Run enough iterations of the fuzz target during each minimization
attempt to take t, as specified as a time.Duration (for example,
-fuzzminimizetime 30s).
The default is 60s.
The special syntax Nx means to run the fuzz target N times
(for example, -fuzzminimizetime 100x).
-json -json
Log verbose output and test results in JSON. This presents the Log verbose output and test results in JSON. This presents the