]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.fuzz] testing: read corpus from testdata/corpus for each target
authorKatie Hockman <katie@golang.org>
Tue, 6 Oct 2020 21:54:50 +0000 (17:54 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 4 Dec 2020 18:17:29 +0000 (19:17 +0100)
commit9f3aa113a9adfceb5ab13dc9abd0921f8d118e15
tree37e145586cd75bb9f064e1005f80dc5a4ed3dc89
parent24beae1df3e15c7d5b8d79ad2cfb4651c047e029
[dev.fuzz] testing: read corpus from testdata/corpus for each target

This change also includes a small cleanup of the run()
function and additional tests for error conditions
in fuzz targets.

Change-Id: I2b7722b25a0d071182a84f1dc4b92e82a7ea34d9
Reviewed-on: https://go-review.googlesource.com/c/go/+/256978
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Jay Conrod <jayconrod@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/testdata/script/test_fuzz.txt
src/cmd/go/testdata/script/test_fuzz_chatty.txt
src/internal/fuzz/fuzz.go
src/testing/fuzz.go
src/testing/internal/testdeps/deps.go
src/testing/testing.go