Makefile: add lcov command
authorJoe Guo <joeg@catalyst.net.nz>
Thu, 16 May 2019 02:38:25 +0000 (14:38 +1200)
committerGary Lockyer <gary@samba.org>
Wed, 22 May 2019 05:59:13 +0000 (05:59 +0000)
commit40a9b739c640b4944289ec19d5efaee5b30f995c
tree13dee9c72734f8db704237a9fa85809eab7fe9b4
parenta666a99e4dc594bc153cd26b24cddd547c1cc750
Makefile: add lcov command

A helper cmd to generate .info file from .gcno and .gcda file,
and then generate html report from .info file.

Usage:

./configure --enable-coverage
make -j
make test TESTS=mytest
make lcov

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Makefile