forked from enlightenment/efl
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.
This commit is contained in:
parent
fa9f7a4c89
commit
9a1151c1bd
|
@ -347,7 +347,8 @@ lcov-report:
|
|||
lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
|
||||
lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
|
||||
lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
|
||||
genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned2.info
|
||||
lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info
|
||||
genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
|
||||
@echo "Coverage Report at $(top_builddir)/coverage/html"
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue