[libvirt] [RESEND PATCHv3 1/3] build: restore operation of bit-rotted 'make cov'

Eric Blake eblake at redhat.com
Fri Jun 25 15:38:23 UTC 2010


On 06/25/2010 09:30 AM, Eric Blake wrote:
> './autobuild.sh' with lcov installed discovered that our
> coverage support has been bit-rotting for a while.  This
> restores it back to a successful state, although I have
> not yet spent any time looking through the resulting files to
> look for low-hanging fruit in the unit test coverage front.
> 
> * configure.ac: Clear COMPILER_FLAGS at right place.
> * Makefile.am (cov): Newer genhtml no longer likes plain -s.
> * m4/compiler-flags.m4 (gl_COMPILER_FLAGS): Don't AC_SUBST
> COMPILER_FLAGS; it is a shell variable for use in configure only.
> * src/Makefile.am (AM_CFLAGS, AM_LDFLAGS): New variables, to make
> it easier to provide global flag additions.  Use throughout, to
> uniformly apply coverage flags.
> * .gitignore: Globally ignore gcov output.
> * daemon/.gitignore: Simplify.
> * src/.gitignore: Likewise.
> * tests/.gitignore: Likewise.
> ---
> 
> No change from https://www.redhat.com/archives/libvir-list/2010-June/msg00220.html

Correction - several minor changes from the original post in order to
resolve conflicts during the rebase on top of other recent Makefile.am
changes.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100625/3106a8ec/attachment-0001.sig>


More information about the libvir-list mailing list