From d66a30794183e04f121fd1464d7bfcfbbcaf64ed Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 9 Oct 2011 10:16:43 -0700 Subject: Add --cover option to ./configure for gcc coverage testing. This adds the -fprofile-arcs and -ftest-coverage options when compiling the source code for the static library. Those same options must then be used when linking the static library into an executable. This updates Makefile.in to remove and .gitignore to ignore the files generated when testing coverage. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 81d3ed2..8c6bce0 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,10 @@ *.o *.dylib +*.gcda +*.gcno +*.gcov + /example /example64 /examplesh -- cgit v1.2.3