Merge "Enable coverage universally if COVERAGE_PATHS includes "*"" am: 7abf560cb0
am: 6637d37544
am: c396834992
Change-Id: I24b02a862613418cc404e860cfe01e5028a4e7a5
This commit is contained in:
commit
956c2c64c7
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ func (c *deviceConfig) NativeCoverageEnabled() bool {
|
|||
func (c *deviceConfig) CoverageEnabledForPath(path string) bool {
|
||||
coverage := false
|
||||
if c.config.productVariables.CoveragePaths != nil {
|
||||
if PrefixInList(path, c.config.productVariables.CoveragePaths) {
|
||||
if InList("*", c.config.productVariables.CoveragePaths) || PrefixInList(path, c.config.productVariables.CoveragePaths) {
|
||||
coverage = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue