]> granicus.if.org Git - check/commit
test_mem_leak.sh: add convenience script for running valgrind
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 18 Dec 2013 21:37:11 +0000 (21:37 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 18 Dec 2013 21:37:11 +0000 (21:37 +0000)
commit225afe50cc02a42cd281a90a01fb504804a260c1
tree43d00c86d8b0458f587f24fe100ad5bcc8fc5a7d
parent8699473b65011b50766d536222329eeb3953f1cc
test_mem_leak.sh: add convenience script for running valgrind

This script will run valgrind against check_mem_leaks, and
determine if there are any memory leaks.

This is not run as part of "make check", as valgrind really only works
on GNU/Linux. (It is available on OSX, but does not really work).

We will need to run this ourselves (or from our continuous integration
server) to periodically check for leaks.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@902 64e312b2-a51f-0410-8e61-82d0ca0eb02a
tests/test_mem_leaks.sh [new file with mode: 0755]