stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9a1151c1bda10be2081b264b02e79abdf3408394

commit 9a1151c1bda10be2081b264b02e79abdf3408394
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Tue Apr 29 13:55:56 2014 +0200

    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.
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 83b8172..70a7445 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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

-- 


Reply via email to