aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2021-08-06 16:15:48 -0700
committerJay Conrod <jayconrod@google.com>2021-08-31 17:53:40 +0000
commit37da45d05a50419b44dcb444d280af31e5344f8e (patch)
treed3c071123c74529d4a56e2a0a50dbfea2b8b1505 /src/testing
parent7b6893d2d2f7ff22efdbc29c6729066be8857dfc (diff)
downloadgo-37da45d05a50419b44dcb444d280af31e5344f8e.tar.xz
[dev.fuzz] internal/fuzz: count -fuzzminimizetime toward -fuzztime
Previously, when -fuzztime was given a number of executions like -fuzztime=100x, this was a count for each minimization independent of -fuzztime. Since there is no bound on the number of minimizations, this was not a meaningful limit. With this change, executions of the fuzz function during minimization count toward the -fuzztime global limit. Executions are further limited by -fuzzminimizetime. This change also counts executions during the coverage-only run and reports errors for those executions. There is no change when -fuzztime specifies a duration or when -fuzztime is not set. Change-Id: Ibcf1b1982f28b28f6625283aa03ce66d4de0a26d Reviewed-on: https://go-review.googlesource.com/c/go/+/342994 Trust: Jay Conrod <jayconrod@google.com> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions