aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am.coverage
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-02-11 15:29:17 +0100
committerRobert Tari <robert@tari.in>2021-05-12 12:50:11 +0200
commite20daf604e81ebd473c74dedda725bca27cd8dd1 (patch)
tree9326e570a08ba08db1ffdcd189317bf2ab6b5ebe /Makefile.am.coverage
parent1fa174f54c9604499f059489e544cfc59c825f27 (diff)
downloadlibayatana-indicator-e20daf604e81ebd473c74dedda725bca27cd8dd1.tar.gz
libayatana-indicator-e20daf604e81ebd473c74dedda725bca27cd8dd1.tar.bz2
libayatana-indicator-e20daf604e81ebd473c74dedda725bca27cd8dd1.zip
Remove Automake-related files
Diffstat (limited to 'Makefile.am.coverage')
-rw-r--r--Makefile.am.coverage50
1 files changed, 0 insertions, 50 deletions
diff --git a/Makefile.am.coverage b/Makefile.am.coverage
deleted file mode 100644
index dc3b9c8..0000000
--- a/Makefile.am.coverage
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# 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
-
-clean-local: clean-gcno clean-coverage-html clean-coverage-gcovr
-
-if HAVE_GCOV
-
-clean-gcno:
- @echo Removing old coverage instrumentation
- -find -name '*.gcno' -print | xargs -r rm
-
-clean-gcda:
- @echo Removing old coverage results
- -find -name '*.gcda' -print | xargs -r rm
-
-coverage-html: clean-gcda
- -$(MAKE) $(AM_MAKEFLAGS) -k check
- $(MAKE) $(AM_MAKEFLAGS) generate-coverage-html
-
-generate-coverage-html:
- @echo Collecting coverage data
- $(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
- -$(LCOV) --directory $(top_builddir) -z
- -rm -rf coverage.info coveragereport
-
-if HAVE_GCOVR
-
-coverage-gcovr: clean-gcda
- -$(MAKE) $(AM_MAKEFLAGS) -k check
- $(MAKE) $(AM_MAKEFLAGS) generate-coverage-gcovr
-
-generate-coverage-gcovr:
- @echo Generating coverage GCOVR report
- $(GCOVR) -x -r $(top_builddir) -o $(top_builddir)/coverage.xml
-
-clean-coverage-gcovr: clean-gcda
- -rm -rf $(top_builddir)/coverage.xml
-
-endif # HAVE_GCOVR
-
-endif # HAVE_GCOV