diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-01-23 20:05:45 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-01-23 20:05:45 +0100 |
commit | e096111ef669c0425686ac87c7e60d6686032ebe (patch) | |
tree | 3ebb58c392d0c7b19b55cd8b7c8fcae26ef61b83 /Makefile.am.coverage | |
parent | af0137c6d8061570d484237d57cbfa6b713fdc39 (diff) | |
download | libayatana-indicator-e096111ef669c0425686ac87c7e60d6686032ebe.tar.gz libayatana-indicator-e096111ef669c0425686ac87c7e60d6686032ebe.tar.bz2 libayatana-indicator-e096111ef669c0425686ac87c7e60d6686032ebe.zip |
Add trim-lcov.py
It strips some unreachable branches from the coverage reports, such as
g_return_if_fail.
Diffstat (limited to 'Makefile.am.coverage')
-rw-r--r-- | Makefile.am.coverage | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am.coverage b/Makefile.am.coverage index fb97747..dc3b9c8 100644 --- a/Makefile.am.coverage +++ b/Makefile.am.coverage @@ -1,6 +1,8 @@ # Coverage targets +EXTRA_DIST = trim-lcov.py + .PHONY: clean-gcno clean-gcda \ coverage-html generate-coverage-html clean-coverage-html \ coverage-gcovr generate-coverage-gcovr clean-coverage-gcovr @@ -23,7 +25,7 @@ coverage-html: clean-gcda generate-coverage-html: @echo Collecting coverage data - $(LCOV) --directory $(top_builddir) --capture --output-file coverage.info --no-checksum --compat-libtool + $(LCOV) --directory $(top_builddir) --capture --no-checksum --compat-libtool | $(top_srcdir)/trim-lcov.py > coverage.info LANG=C $(GENHTML) --prefix $(top_builddir) --output-directory coveragereport --title "Code Coverage" --legend --show-details coverage.info clean-coverage-html: clean-gcda |