Integrate coverage reporting for the test suite
commit655b671b9604008e4e5887b10e867c9d7b950213
authorJonas Fonseca <jonas.fonseca@gmail.com>
Sun, 1 Mar 2015 19:08:50 +0000 (1 14:08 -0500)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 11 Mar 2015 14:53:12 +0000 (11 10:53 -0400)
tree895ea031cb9d07c67298f53dcca914669708049f
parent8bd9c2ef99d60dcd7f51292cf84d40edf797e493
Integrate coverage reporting for the test suite

Either by simply calling test-coverage which will use lcov and genhtml
or by running `./configure --enable-gcov`. Here's the current stats:

                Hit     Total   Coverage
                ----    -----   --------
Lines:          7145     9435     75.7 %
Functions:       602      668     90.1 %

Directory       Line Coverage           Functions
-----------     -------------------     -----------------
compat           63.4 %   234 / 369      60.7 %   17 / 28
include/tig     100.0 %     68 / 68     100.0 %   20 / 20
src              76.0 % 6794 / 8942      91.1 % 561 / 616
test/tools       87.5 %     49 / 56     100.0 %     4 / 4
.gitignore
Makefile
config.make.in
configure.ac
tools/gcov.m4 [new file with mode: 0644]