summaryrefslogtreecommitdiff
path: root/.lcov-config
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-12-07 17:35:57 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-12-07 17:53:27 +0100
commit14c19e1c6f649cdd8694d8dd72129fc1a3caeddb (patch)
treecd57b25dc2ab06e6643cf9be549e124c3b312414 /.lcov-config
parenteafb05c58a0c5c724da484c2d745e7d08aa3fdc4 (diff)
build: coverage: disable branch coverage generation to avoid hangs in gcov
I have seen hangs with gcov on Jenkins and locally where the processing just keeps spinning in an infinite loop. From what I have found out this boils down to using gcov --all-blocks which is what lcov does with branch coverage enabled. It is supposed to be fixed in gcc 4.8+ but I see this here with 5.3.1. So its either a regression or not completely fixed. In any case we will ignore branch coverage for now. I hoped it would work well but it did only for a while and having line and function coverage is better than having nothing.
Diffstat (limited to '.lcov-config')
-rw-r--r--.lcov-config2
1 files changed, 0 insertions, 2 deletions
diff --git a/.lcov-config b/.lcov-config
index ef201f5..b069cdd 100644
--- a/.lcov-config
+++ b/.lcov-config
@@ -1,3 +1 @@
1geninfo_auto_base=1 geninfo_auto_base=1
2lcov_branch_coverage=1
3genhtml_branch_coverage=1