Matt Spinler | 7a6ed30 | 2020-06-05 14:38:32 -0500 | [diff] [blame] | 1 | # Ignore system headers |
| 2 | CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' |
| 3 | export CODE_COVERAGE_IGNORE_PATTERN |
| 4 | |
| 5 | CODE_COVERAGE_LCOV_SHOPTS = $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) |
| 6 | # Use our configuration file for lcov |
| 7 | CODE_COVERAGE_LCOV_SHOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 8 | export CODE_COVERAGE_LCOV_SHOPTS |
| 9 | # |
| 10 | CODE_COVERAGE_LCOV_OPTIONS = $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) |
| 11 | # Use our configuration file for lcov |
| 12 | CODE_COVERAGE_LCOV_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 13 | export CODE_COVERAGE_LCOV_OPTIONS |
| 14 | |
| 15 | CODE_COVERAGE_LCOV_RMOPTS = $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) |
| 16 | # Use our configuration file for lcov |
| 17 | CODE_COVERAGE_LCOV_RMOPTS += --config-file $(abs_srcdir)/.lcovrc |
| 18 | export CODE_COVERAGE_LCOV_RMOPTS |
| 19 | |
| 20 | CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) |
| 21 | # Use our configuration file for genhtml |
| 22 | CODE_COVERAGE_GENHTML_OPTIONS += --config-file $(abs_srcdir)/.lcovrc |
| 23 | # Don't generate the absolute path for each file in the HTML output |
| 24 | CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir) |
| 25 | export CODE_COVERAGE_GENHTML_OPTIONS |