aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing.go')
-rw-r--r--src/testing/testing.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/testing/testing.go b/src/testing/testing.go
index 5e66a0610b..f4d2b26650 100644
--- a/src/testing/testing.go
+++ b/src/testing/testing.go
@@ -1634,14 +1634,7 @@ func (m *M) Run() (code int) {
}
}
- fuzzingRan, fuzzingMatched, fuzzingOk := runFuzzing(m.deps, m.fuzzTargets)
- if *matchFuzz != "" && !fuzzingRan {
- if fuzzingMatched == 0 {
- fmt.Fprintln(os.Stderr, "testing: warning: no targets to fuzz")
- } else {
- fmt.Fprintln(os.Stderr, "testing: warning: will not fuzz, -fuzz matches more than one target")
- }
- }
+ fuzzingOk := runFuzzing(m.deps, m.fuzzTargets)
if !*isFuzzWorker && !fuzzingOk {
fmt.Println("FAIL")
if *isFuzzWorker {