mirror of
https://github.com/golang/go
synced 2024-11-17 15:24:43 -07:00
testing: remove package from fuzz crasher message
Fixes #48149 Change-Id: Iaf91d2c54fda809c7da90cdfb6d1d075f474c69b Reviewed-on: https://go-review.googlesource.com/c/go/+/362116 Trust: Katie Hockman <katie@golang.org> Run-TryBot: Katie Hockman <katie@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
This commit is contained in:
parent
b7529c3617
commit
2559a98a3c
@ -356,7 +356,7 @@ func (f *F) Fuzz(ff interface{}) {
|
||||
crashPath := crashErr.CrashPath()
|
||||
fmt.Fprintf(f.w, "Crash written to %s\n", crashPath)
|
||||
testName := filepath.Base(crashPath)
|
||||
fmt.Fprintf(f.w, "To re-run:\ngo test %s -run=%s/%s\n", f.fuzzContext.deps.ImportPath(), f.name, testName)
|
||||
fmt.Fprintf(f.w, "To re-run:\ngo test -run=%s/%s\n", f.name, testName)
|
||||
}
|
||||
}
|
||||
// TODO(jayconrod,katiehockman): Aggregate statistics across workers
|
||||
|
Loading…
Reference in New Issue
Block a user