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