Test the inflate code with full coverage.

Add a cover target in Makefile and the test/infcover.c test program
to cover all of the code lines in the inf*.c source files.  The
coverage is run with memory allocation checking in order to expose
memory leaks.  The coverage testing is run using:

    ./configure --cover && make cover
This commit is contained in:
Mark Adler
2011-11-20 08:43:17 -08:00
parent de32a2d749
commit 014967ace3
3 changed files with 687 additions and 0 deletions

1
INDEX
View File

@@ -9,6 +9,7 @@ configure configure script for Unix
make_vms.com makefile for VMS
test/example.c zlib usages examples for build testing
test/minigzip.c minimal gzip-like functionality for build testing
test/infcover.c inf*.c code coverage for build coverage testing
treebuild.xml XML description of source file dependencies
zconf.h.cmakein zconf.h template for cmake
zconf.h.in zconf.h template for configure