From e45535849cb7187e22c9fd11d14e0eb37f5d7dc8 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Wed, 19 Aug 2009 17:06:39 +0100 Subject: 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 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 66ce77617..5c7507cc2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ *.o *.a *.exe +*.gcda +*.gcno +*.gcov -- cgit v1.2.1