diff options
| author | William A. Kennington III <wak@google.com> | 2018-07-17 14:40:14 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2018-07-17 14:40:14 -0700 |
| commit | 154a2b3ab755e700a0290307c09b16d68dd52565 (patch) | |
| tree | 7d57f7d7c97df842d2f5165ac96df69356798534 | |
| parent | ae7d4c501d5f7883b66fb796a1aab971a092988b (diff) | |
| download | sdeventplus-154a2b3ab755e700a0290307c09b16d68dd52565.tar.gz sdeventplus-154a2b3ab755e700a0290307c09b16d68dd52565.zip | |
code-coverage: Ignore system headers and sd_event impl
| -rw-r--r-- | Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 26cc8db..35418ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,12 @@ ACLOCAL_AMFLAGS = -I m4 +# Ignore system headers +CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*' +# Ignore the real implementation sources for sd_event +CODE_COVERAGE_IGNORE_PATTERN += \ + '$(abs_builddir)/src/sdeventplus/internal/sdevent.*' +export CODE_COVERAGE_IGNORE_PATTERN + export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \ $(SYSTEMD_CFLAGS) $(CODE_COVERAGE_CPPFLAGS) export AM_CFLAGS = $(CODE_COVERAGE_CFLAGS) |

