]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Makefile: drop cov target
authorPavel Hrdina <phrdina@redhat.com>
Mon, 27 Jul 2020 06:12:25 +0000 (08:12 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:26:31 +0000 (09:26 +0200)
Coverage functionality is provided directly by meson so there is no need
to convert it into meson.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Makefile.am

index 64766684456d6bb670d762d5a71412b0308d2002..34744f3cea224b91c546e8264a30941f1e9ebf2b 100644 (file)
@@ -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
-
 BUILT_SOURCES = configmake.h
 
 dist-hook: gen-AUTHORS