summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-04-29 13:55:56 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-04-29 13:55:56 +0200
commit9a1151c1bda10be2081b264b02e79abdf3408394 (patch)
treebfd12b128789b29a9631c59b62822e3b990c9b33 /Makefile.am
parentfa9f7a4c892a04b7a2bf7065346124eb9479dab6 (diff)
build: Fix coevrage build with eolian and lcov 1.10
Mixing up the new eolian test with its generated eo_lexer code and a new version of lcov like 1.10. It works fine with lcov 1.6. The problem is that this combination somhow triggers a wrong file path with filename NONE. It was only triggered when adding the eolian test suite so its a combination here. For now we use this bandaid to remove the broken files. Need to find a way to report this to lcov upstream.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 83b817245e..70a7445694 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -347,7 +347,8 @@ lcov-report:
347 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/ 347 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
348 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info 348 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
349 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info 349 lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
350 genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info 350 lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info
351 genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
351 @echo "Coverage Report at $(top_builddir)/coverage/html" 352 @echo "Coverage Report at $(top_builddir)/coverage/html"
352 353
353endif 354endif