blob: 0df10bb1d82cb8261eceeeebaa4e4df191b9d7a5 [file] [log] [blame]
Priyangafb4bec92019-03-25 11:51:31 +05301# Ignore system headers
2CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*'
3export CODE_COVERAGE_IGNORE_PATTERN
4CODE_COVERAGE_LCOV_SHOPTS = $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
5# Use our configuration file for lcov
6CODE_COVERAGE_LCOV_SHOPTS += --config-file $(abs_srcdir)/.lcovrc
7export CODE_COVERAGE_LCOV_SHOPTS
8CODE_COVERAGE_LCOV_OPTIONS = $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
9# Use our configuration file for lcov
10CODE_COVERAGE_LCOV_OPTIONS += --config-file $(abs_srcdir)/.lcovrc
11export CODE_COVERAGE_LCOV_OPTIONS
12CODE_COVERAGE_LCOV_RMOPTS = $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
13# Use our configuration file for lcov
14CODE_COVERAGE_LCOV_RMOPTS += --config-file $(abs_srcdir)/.lcovrc
15export CODE_COVERAGE_LCOV_RMOPTS
16CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
17# Use our configuration file for genhtml
18CODE_COVERAGE_GENHTML_OPTIONS += --config-file $(abs_srcdir)/.lcovrc
19# Don't generate the absolute path for each file in the HTML output
20CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir)
21export CODE_COVERAGE_GENHTML_OPTIONS
22if AUTOCONF_CODE_COVERAGE_2019_01_06
23include $(top_srcdir)/aminclude_static.am
24clean-local: code-coverage-clean
25distclean-local: code-coverage-dist-clean
26else
27@CODE_COVERAGE_RULES@
28endif
29
Deepak Kodihalli1b24f972019-02-01 04:09:13 -060030SUBDIRS = libpldm libpldmresponder test