libgit2/tests
Ramsay Jones cac5d927b5 Add support for running the tests via valgrind
Add some makefile targets, which use valgrind's memcheck tool to
run the tests, in order to help diagnose memory problems in the
library.

In addition, we enable the '--leak-check' option to report on any
memory leaks. However, unlike the other memory problems reported
by memcheck, memory leak reports do not result in an error exit
from valgrind. (So memory leaks are reported on stderr, but don't
halt the test run.)

A suppressions file (tests.supp) is included since libz triggers
some false positives.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
2009-10-13 16:23:54 +01:00
..
.gitignore Fix Makefile to correctly handle 'make -j4 test' 2008-11-03 18:42:54 -08:00
Makefile Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00
NAMING Implement git_odb_write() 2009-06-05 10:22:20 +02:00
t0001-errno.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0002-refcnt.c Add a mutex and atomic counter abstraction and implementations 2008-12-31 13:36:55 -08:00
t0003-strutil.c Add git__dirname and git__basename utility routines 2009-01-28 12:25:24 -08:00
t0020-dirent.c Add noreturn declaration compatible with the MSVC compiler. 2009-06-16 11:40:14 +02:00
t0101-hash.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0101-oid.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0102-objtype.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0103-objhash.c Rename the test cases to run in specific orders 2008-12-31 11:16:41 -08:00
t0201-existsloose.c Add a test to check existence of loose objects. 2009-03-17 19:08:00 -07:00
t0202-readloose.c Fix comments in renamed t020?-readloose tests 2009-03-30 07:18:42 -07:00
t0203-readloose.c Fix comments in renamed t020?-readloose tests 2009-03-30 07:18:42 -07:00
t0301-write.c Implement git_odb_write() 2009-06-05 10:22:20 +02:00
test_helpers.c Factor out test helper methods for creating/deleting loose objects 2009-03-17 19:06:37 -07:00
test_helpers.h Factor out test helper methods for creating/deleting loose objects 2009-03-17 19:06:37 -07:00
test_lib.c Create a basic test suite for the library and test oid functions 2008-11-01 18:24:39 -07:00
test_lib.h Add noreturn declaration compatible with the MSVC compiler. 2009-06-16 11:40:14 +02:00
test_main.c Makefile: Add CFLAGS to the "test_main.c" compile target 2009-06-05 12:12:42 +02:00
tests.supp Add support for running the tests via valgrind 2009-10-13 16:23:54 +01:00