diff options
| author | Katie Hockman <katie@golang.org> | 2020-09-11 11:11:08 -0400 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2020-12-04 19:17:29 +0100 |
| commit | 2a9036fe7e3c8f62bf80c857534dc142a4248f37 (patch) | |
| tree | 7d9d1a6243d3f041303127c1cbd498e6cf787d28 /src/testing/testing.go | |
| parent | 33c89be3b72c1c3cae20a12b13da9ee6c723e31c (diff) | |
| download | go-2a9036fe7e3c8f62bf80c857534dc142a4248f37.tar.xz | |
[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>
Diffstat (limited to 'src/testing/testing.go')
| -rw-r--r-- | src/testing/testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go index 3e0d2b689e..4fd628c0ff 100644 --- a/src/testing/testing.go +++ b/src/testing/testing.go @@ -1396,7 +1396,7 @@ func (m *M) Run() (code int) { fuzzingRan, fuzzingOk := runFuzzing(m.deps.MatchString, m.fuzzTargets) if *matchFuzz != "" && !fuzzingRan { - fmt.Fprintln(os.Stderr, "testing: warning: no fuzz targets to run") + fmt.Fprintln(os.Stderr, "testing: warning: no targets to fuzz") } if !fuzzingOk { fmt.Println("FAIL") |
