summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2009-08-27 16:11:07 +0100
committerRamsay Jones <ramsay@ramsay1.demon.co.uk>2009-10-13 16:23:54 +0100
commitcac5d927b51bf378cf599a02d38538cf7ab70146 (patch)
tree94996dfd9511a12bfa9190d97d33d2bf6599f1fd /src/commit.h
parent04e8824004970f6889b9df126b5db343013c82c9 (diff)
downloadlibgit2-cac5d927b51bf378cf599a02d38538cf7ab70146.tar.gz
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>
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions