]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: document -fuzzminimizetime
authorKatie Hockman <katie@golang.org>
Fri, 10 Dec 2021 19:25:55 +0000 (14:25 -0500)
committerKatie Hockman <katie@golang.org>
Mon, 13 Dec 2021 19:40:29 +0000 (19:40 +0000)
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>

src/cmd/go/alldocs.go
src/cmd/go/internal/test/test.go

index f9a2b59c05158b5378265f40ee5b96486c193cb0..6703792054d70d055bec469db2a35b0cf2509b21 100644 (file)
 //         section of the testing package documentation for details.
 //
 //     -fuzztime t
-//         Run enough iterations of the fuzz test to take t, specified as a
-//         time.Duration (for example, -fuzztime 1h30s). The default is to run
-//         forever.
-//         The special syntax Nx means to run the fuzz test N times
-//         (for example, -fuzztime 100x).
+//         Run enough iterations of the fuzz target during fuzzing to take t,
+//         specified as a time.Duration (for example, -fuzztime 1h30s).
+//             The default is to run forever.
+//         The special syntax Nx means to run the fuzz target N times
+//         (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
 //         Log verbose output and test results in JSON. This presents the
index 7ea9d4f1f1320ba24c54d3dd1a5a6c81b2de643b..50e6d5201b0d6e04cc59a3289d30fa8b4e1cb2b0 100644 (file)
@@ -257,11 +257,19 @@ control the execution of any test:
            section of the testing package documentation for details.
 
        -fuzztime t
-           Run enough iterations of the fuzz test to take t, specified as a
-           time.Duration (for example, -fuzztime 1h30s). The default is to run
-           forever.
-           The special syntax Nx means to run the fuzz test N times
-           (for example, -fuzztime 100x).
+           Run enough iterations of the fuzz target during fuzzing to take t,
+           specified as a time.Duration (for example, -fuzztime 1h30s).
+               The default is to run forever.
+           The special syntax Nx means to run the fuzz target N times
+           (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
            Log verbose output and test results in JSON. This presents the