aboutsummaryrefslogtreecommitdiff
path: root/Makefile.main
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-06-26 15:35:31 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-06-26 15:35:31 +1000
commit1edeebcb776166dd757f509393ea587b1970a664 (patch)
tree13674483e138ff2687b8fd042ccc9c772476a70d /Makefile.main
parent0f866835e07455a635272002fe3ec3b2c7e24844 (diff)
downloadskiboot-1edeebcb776166dd757f509393ea587b1970a664.zip
skiboot-1edeebcb776166dd757f509393ea587b1970a664.tar.gz
skiboot-1edeebcb776166dd757f509393ea587b1970a664.tar.bz2
Be explicit about wanting GCOV branch coverage
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.main')
-rw-r--r--Makefile.main6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.main b/Makefile.main
index 1fc00cd..3851c20 100644
--- a/Makefile.main
+++ b/Makefile.main
@@ -178,11 +178,11 @@ extract-gcov: extract-gcov.c
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -O0 -g -I$(SRC) -o $@ $<,$<)
coverage-report: skiboot.info
- genhtml -q -o $@ $<
+ genhtml --branch-coverage -q -o $@ $<
skiboot.info: coverage
- lcov -q -c -d . $(LCOV_DIRS) -o $@
- lcov -q -r $@ $(LCOV_EXCLUDE) -o $@
+ lcov -q -c -d . $(LCOV_DIRS) -o $@ --rc lcov_branch_coverage=1
+ lcov -q -r $@ $(LCOV_EXCLUDE) -o $@ --rc lcov_branch_coverage=1
tags:
find . -name '*.[chS]' | xargs ctags