[PATCH v2 0/2] Revert "configure: Remove --enable-test-coverage"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gnulib's make coverage (or init-coverage, build-coverage, gen-coverage)
is not a 1-1 replacement for the original configure option. Our old
--enable-test-coverage seems to be close to gnulib's make build-coverage
except gnulib runs lcov in that phase and the build actually fails for
me even before lcov is run. And since we want to be able to just build
libvirt without running lcov, I suggest reverting to our own
implementation.

I admit the best solution would be to somehow make gnulib support what
we need (and fix the actual build), but I don't feel brave enough to do
that. Eric? :-)

Also if we ever switch to glib and drop gnulib completely, we would need
to reintroduce our own implementation anyway.

I had to do some changes to resolve conflicts. The changes were not too
big, but I figured I'd rather resend this patch especially when I
originally forgot to Cc the original author of the reverted patch.

Jiri Denemark (2):
  Revert "configure: Remove --enable-test-coverage"
  Revert "docs: hacking: Add 'Code coverage reports' section"

 Makefile.am                | 20 +++++++++++++++++---
 configure.ac               | 18 ++++++++++++++++++
 docs/hacking.html.in       | 29 -----------------------------
 src/Makefile.am            |  2 ++
 src/remote/Makefile.inc.am |  2 ++
 tests/Makefile.am          |  2 ++
 tools/Makefile.am          |  6 ++++++
 7 files changed, 47 insertions(+), 32 deletions(-)

-- 
2.22.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux