summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-07-17 14:40:14 -0700
committerWilliam A. Kennington III <wak@google.com>2018-07-17 14:40:14 -0700
commitf28b28effe80033af7ff5c46d98be22c47ee765f (patch)
tree63e859807ad55b42dbca534e6b5b20a0a4b4c544
parent2cc1c176627b08b8d8250da1c9924895ece6fc4c (diff)
downloadsdeventplus-f28b28effe80033af7ff5c46d98be22c47ee765f.tar.gz
sdeventplus-f28b28effe80033af7ff5c46d98be22c47ee765f.zip
code-coverage: Don't use full paths in HTML output
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 35418ec..19ac1e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,6 +6,10 @@ CODE_COVERAGE_IGNORE_PATTERN = '/include/*' '/usr/include/*' '$(includedir)/*'
CODE_COVERAGE_IGNORE_PATTERN += \
'$(abs_builddir)/src/sdeventplus/internal/sdevent.*'
export CODE_COVERAGE_IGNORE_PATTERN
+CODE_COVERAGE_GENHTML_OPTIONS = $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
+# Don't generate the absolute path for each file in the HTML output
+CODE_COVERAGE_GENHTML_OPTIONS += --prefix $(abs_srcdir) --prefix $(abs_builddir)
+export CODE_COVERAGE_GENHTML_OPTIONS
export AM_CPPFLAGS = -I$(abs_builddir)/src -I$(abs_srcdir)/src \
$(SYSTEMD_CFLAGS) $(CODE_COVERAGE_CPPFLAGS)
OpenPOWER on IntegriCloud