Commit 279c4844 authored by Rob Pike's avatar Rob Pike

testing: include cover mode in cover profile

R=adg, rsc
CC=golang-dev
https://golang.org/cl/10392049
parent f243584d
......@@ -50,6 +50,7 @@ func coverReport() {
if *coverProfile != "" {
f, err = os.Create(toOutputDir(*coverProfile))
mustBeNil(err)
fmt.Fprintf(f, "mode: %s\n", *coverMode)
defer func() { mustBeNil(f.Close()) }()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment