cmd/testwrapper: apply results of all unit tests to coverage for all packages

This allows coverage from tests that hit multiple packages at once
to be reflected in all those packages' coverage.

Updates #cleanup

Signed-off-by: Percy Wegmann <percy@tailscale.com>
This commit is contained in:
Percy Wegmann 2024-02-21 10:00:13 -06:00 committed by Percy Wegmann
parent d756622432
commit 91a1019ee2

View File

@ -278,6 +278,7 @@ func main() {
goTestArgsWithCoverage,
fmt.Sprintf("-coverprofile=%v", coverageFile),
"-covermode=set",
"-coverpkg=./...",
)
}