[libvirt PATCH 005/351] meson: Makefile: drop cov target

Pavel Hrdina phrdina at redhat.com
Thu Jul 16 09:54:01 UTC 2020


Coverage functionality is provided directly by meson so there is no need
to convert it into meson.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 Makefile.am | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 310a9d90276..fbb3cb09ff1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,9 +16,6 @@
 ## License along with this library.  If not, see
 ## <http://www.gnu.org/licenses/>.
 
-LCOV = lcov
-GENHTML = genhtml
-
 # when building from tarball -Werror isn't auto enabled
 # so force it explicitly
 DISTCHECK_CONFIGURE_FLAGS = --enable-werror
@@ -45,17 +42,6 @@ check-local: all tests
 check-access: all
 	@($(MAKE) $(AM_MAKEFLAGS) -C tests check-access)
 
-cov:
-	$(MKDIR_P) $(top_builddir)/coverage
-	$(LCOV) -c -o $(top_builddir)/coverage/libvirt.info.tmp \
-	  -d $(top_builddir)/src \
-	  -d $(top_builddir)/tests
-	$(LCOV) -r $(top_builddir)/coverage/libvirt.info.tmp \
-	  -o $(top_builddir)/coverage/libvirt.info
-	rm $(top_builddir)/coverage/libvirt.info.tmp
-	$(GENHTML) --show-details -t "libvirt" -o $(top_builddir)/coverage \
-	  --legend $(top_builddir)/coverage/libvirt.info
-
 dist-hook: gen-AUTHORS
 
 .PHONY: gen-AUTHORS
-- 
2.26.2




More information about the libvir-list mailing list