]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
build: restore operation of bit-rotted 'make cov'
authorEric Blake <eblake@redhat.com>
Wed, 9 Jun 2010 18:35:49 +0000 (12:35 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 29 Jul 2010 19:41:25 +0000 (13:41 -0600)
commite7064aa6a2751722e0a9e71c3b54f1c850e70bcc
treef355ed7f9a0c7d91dcf7c75f0b4ea7e65b0d1dbc
parent08ae41e930227c5f40467efdd375a588fb686305
build: restore operation of bit-rotted 'make cov'

'./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.
.gitignore
Makefile.am
configure.ac
daemon/.gitignore
m4/compiler-flags.m4
src/.gitignore
src/Makefile.am
tests/.gitignore