summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-10-05 18:39:03 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-10-05 18:39:03 +0100
commitee2c2dea450e484a6245f78f0b56bd7f07083902 (patch)
tree74c52879c3d82d4db69cec5c74b07465e53f33bf /rules
parent50668ea83a111b3e795a3ba0e9cc73735bda4b2e (diff)
downloadtelepathy-salut-ee2c2dea450e484a6245f78f0b56bd7f07083902.tar.gz
Apply some fairly crude filtering to the lcov output again
Diffstat (limited to 'rules')
-rw-r--r--rules/lcov.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/lcov.mak b/rules/lcov.mak
index 702a94e2..d3a93696 100644
--- a/rules/lcov.mak
+++ b/rules/lcov.mak
@@ -22,7 +22,8 @@ lcov-run:
lcov-report:
@mkdir -p $(COVERAGE_DIR)
@lcov --quiet --compat-libtool --directory . --capture --output-file $(COVERAGE_DIR)/lcov.info
+ @lcov --output-file $(COVERAGE_DIR)/lcov.info.clean --remove $(COVERAGE_DIR)/lcov.info '*/_gen/*' '/usr/*'
@echo =================================================
- @genhtml -t "$(PACKAGE_STRING)" -o $(COVERAGE_DIR) $(COVERAGE_DIR)/lcov.info
+ @genhtml -t "$(PACKAGE_STRING)" -o $(COVERAGE_DIR) $(COVERAGE_DIR)/lcov.info.clean
@echo file://@abs_top_builddir@/$(COVERAGE_DIR)/index.html
@echo =================================================