diff options
Diffstat (limited to 'src/internal/coverage')
| -rw-r--r-- | src/internal/coverage/covcmd/cmddefs.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/coverage/covcmd/cmddefs.go b/src/internal/coverage/covcmd/cmddefs.go index 8a350f3903..e8ce204825 100644 --- a/src/internal/coverage/covcmd/cmddefs.go +++ b/src/internal/coverage/covcmd/cmddefs.go @@ -32,6 +32,13 @@ type CoverPkgConfig struct { // corresponding field in cmd/go's PackageInternal struct for more // info. Local bool + + // EmitMetaFile if non-empty is the path to which the cover tool should + // directly emit a coverage meta-data file for the package, if the + // package has any functions in it. The go command will pass in a value + // here if we've been asked to run "go test -cover" on a package that + // doesn't have any *_test.go files. + EmitMetaFile string } // CoverFixupConfig contains annotations/notes generated by the |
