build: Add lcov make targets from telepathy-glib
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 8 Jan 2012 23:16:14 +0000 (23:16 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Sun, 8 Jan 2012 23:35:07 +0000 (23:35 +0000)
commit4acfe29de66deff09e778084dae2d9f39fdbf28e
tree185c1a4c315f272890561b4257985ce94d15c16b
parent56e69d1c2bdb2311f01b8d291f85645a356edd78
build: Add lcov make targets from telepathy-glib

Add lcov.mk, copied from telepathy-glib:
http://cgit.freedesktop.org/telepathy/telepathy-glib/tree/tools/lcov.am
with the tp-glib–specific bits removed.

These targets are only useful if folks is compiled with
--enable-code-coverage.

To run the test suite and generate a report, run `make lcov-check`. To just
generate a report without running the test suite, run `make lcov-report`.

The .info file and generated report are only deleted by
`make maintainer-clean`, since the developer might want to refer to them
across other cleans.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=659610
Makefile.am
lcov.mk [new file with mode: 0644]