]> Cypherpunks.ru repositories - gostls13.git/commit
runtime/coverage: add support for "auxiliary" meta-data files
authorThan McIntosh <thanm@google.com>
Mon, 15 May 2023 17:22:39 +0000 (13:22 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 23 May 2023 11:37:21 +0000 (11:37 +0000)
commitc99d966c176a604b8ac2081fec0ecf9ab04b3745
treeee455e46e0f55a3f9c776cbd33c7e74151f5e038
parentef67022471bb26973168827ebf41e09f839fa0a7
runtime/coverage: add support for "auxiliary" meta-data files

Enhance the functions called by _testmain.go during "go test -cover"
test binary runs to allow for injection of extra or "auxiliary"
meta-data files when reporting coverage statistics. There are unit
tests for this functionality, but it is not yet wired up to be used by
the Go command yet, that will appear in a subsequent patch.

Change-Id: I10b79ca003fd7a875727dc1a86f23f58d6bf630c
Reviewed-on: https://go-review.googlesource.com/c/go/+/495451
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/go/build/deps_test.go
src/internal/coverage/cmddefs.go
src/runtime/coverage/testsupport.go
src/runtime/coverage/ts_test.go