cmd/go: allow -coverprofile with multiple packages being tested
It's easy to merge the coverage profiles from the multiple executed tests, so do that. Also ensures that at least an empty coverage profile is always written. Fixes #6909. Fixes #18909. Change-Id: I28b88e1fb0fb773c8f57e956b18904dc388cdd82 Reviewed-on: https://go-review.googlesource.com/76875 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: David Crawshaw <crawshaw@golang.org>
Showing
Please register or sign in to comment