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