diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2009-08-19 17:06:39 +0100 |
---|---|---|
committer | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2009-10-13 16:26:05 +0100 |
commit | e45535849cb7187e22c9fd11d14e0eb37f5d7dc8 (patch) | |
tree | b7058c66c000c55f92fc4ffd7274a16b41b196f8 /.gitignore | |
parent | d2ef83fcdc0c9cad633e7b654ab789d17f583f30 (diff) | |
download | libgit2-e45535849cb7187e22c9fd11d14e0eb37f5d7dc8.tar.gz |
Add test-suite coverage testing using gcov
Add a new "coverage" Makefile target that re-builds the
library and tests using the gcc compiler/linker flags
required by gcov, runs the test suite to capture the
runtime data, then compiles a coverage report.
The report, which is saved in a file named "untested",
consists of a list of untested files, followed by a list
of untested functions. More detailed execution statistics
are given in the gcov log files which are saved in the
top-level directory (named like src#hash.c.gcov).
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 66ce77617..5c7507cc2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ *.o *.a *.exe +*.gcda +*.gcno +*.gcov |