]> Cypherpunks repositories - gostls13.git/commit
[dev.fuzz] testing: add script tests for fuzz targets
authorKatie Hockman <katie@golang.org>
Fri, 11 Sep 2020 15:11:08 +0000 (11:11 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 4 Dec 2020 18:17:29 +0000 (19:17 +0100)
commit2a9036fe7e3c8f62bf80c857534dc142a4248f37
tree7d9d1a6243d3f041303127c1cbd498e6cf787d28
parent33c89be3b72c1c3cae20a12b13da9ee6c723e31c
[dev.fuzz] testing: add script tests for fuzz targets

Tests include:
  - matching fuzz targets
  - matching fuzz targets with -fuzz
  - chatty tests with -v
  - failing tests
  - skipped tests
  - passing tests
  - panic in tests

Change-Id: I54e63c8891b45cfae7212924e067e790f25ab411
Reviewed-on: https://go-review.googlesource.com/c/go/+/254360
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>
src/cmd/go/internal/load/test.go
src/cmd/go/internal/test/test.go
src/cmd/go/testdata/script/test_fuzz.txt [new file with mode: 0644]
src/cmd/go/testdata/script/test_fuzz_chatty.txt [new file with mode: 0644]
src/cmd/go/testdata/script/test_fuzz_match.txt [new file with mode: 0644]
src/testing/fuzz.go
src/testing/testing.go