diff options
| author | 2020-06-09 13:04:27 +0100 | |
|---|---|---|
| committer | 2020-06-15 11:51:56 +0100 | |
| commit | 17541b9512ba500f9a07d800a86658b40ec93cca (patch) | |
| tree | 274f0e44c282b0c6d82d6832bfd458fc1c1510c7 /tools/warn/tidy_warn_patterns.py | |
| parent | d160a49df3bc4eadaddb7f36c1d0556ce3c710ff (diff) | |
Introduce product variables to select Java code coverage paths in Make.
Introduce product variables `JavaCoveragePaths` and
`JavaCoverageExcludePaths` (resp. populated from environment variables
`JAVA_COVERAGE_PATHS` and `JAVA_COVERAGE_EXCLUDE_PATHS`). Use them to
control which Java modules are candidate for instrumentation based on
their source path. By default (when `JavaCoveragePaths` is empty),
have all Java modules be candidate for instrumentation, to preserve
the existing behavior.
Test: export EMMA_INSTRUMENT=true \
&& export EMMA_INSTRUMENT_FRAMEWORK=true \
&& export JAVA_COVERAGE_PATHS=art \
&& m
Bug: 158212027
Bug: 156284897
Change-Id: I5de6eb460709d7d66d81e3432e11f94ff14dd1c9
Diffstat (limited to 'tools/warn/tidy_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions