summaryrefslogtreecommitdiff
path: root/legacy/eet/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/eet/Makefile.am18
1 files changed, 8 insertions, 10 deletions
diff --git a/legacy/eet/Makefile.am b/legacy/eet/Makefile.am
index 34a576216d..d3622dca5f 100644
--- a/legacy/eet/Makefile.am
+++ b/legacy/eet/Makefile.am
@@ -69,18 +69,16 @@ endif
69 69
70if EFL_ENABLE_COVERAGE 70if EFL_ENABLE_COVERAGE
71lcov-reset: 71lcov-reset:
72 @rm -rf coverage 72 @rm -rf $(top_builddir)/coverage
73 @find . -name "*.gcda" -exec rm {} \; 73 @find $(top_builddir) -name "*.gcda" -delete
74 @lcov --directory . --zerocounters 74 @lcov --zerocounters --directory $(top_builddir)
75 75
76lcov-report: 76lcov-report:
77 @mkdir coverage 77 @mkdir $(top_builddir)/coverage
78 @lcov --compat-libtool --directory . --capture --output-file coverage/coverage.info 78 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
79 @lcov -l coverage/coverage.info |grep "\\.h" |cut -d " " -f 2 > coverage/remove 79 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
80 @lcov -r coverage/coverage.info `cat coverage/remove` > coverage/coverage.cleaned.info 80 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
81 @rm coverage/remove 81 @echo "Coverage Report at $(top_builddir)/coverage/html"
82 @mv coverage/coverage.cleaned.info coverage/coverage.info
83 @genhtml -t "$(PACKAGE_STRING)" -o coverage coverage/coverage.info
84 82
85coverage: 83coverage:
86 @$(MAKE) lcov-reset 84 @$(MAKE) lcov-reset