From 1f7acbaaef4e8adafff12c5ad41303bcf5b9ad60 Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 29 Nov 2010 18:40:26 +0000 Subject: [PATCH] * eina, eet: fix coverage generation with newer lcov. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@55070 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 6edc9db..9ffbe8b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -77,7 +77,7 @@ lcov-reset: lcov-report: @mkdir coverage @lcov --compat-libtool --directory . --capture --output-file coverage/coverage.info - @lcov -l coverage/coverage.info | grep -v "`cd $(top_srcdir) && pwd`" | cut -d: -f1 > coverage/remove + @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info @rm coverage/remove @mv coverage/coverage.cleaned.info coverage/coverage.info -- 2.7.4