]> git.ozlabs.org Git - ccan/commit
ccanlint: report valgrind "definite" leaks.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Dec 2010 08:15:25 +0000 (18:45 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Dec 2010 08:15:25 +0000 (18:45 +1030)
commit070a8e6aa3d2b50553d84f7d6e8e37b5a112804c
treec1ddc84d3d289e03a4da357f680e5eef8f249659
parent89d06e0d4595b892f32d601ead388932c59ae7ba
ccanlint: report valgrind "definite" leaks.

This is complicated by valgrind's limited options, and our desire not to run
valgrind twice (it's already the slowest part of the tests).

Ideally I'd like a different error code for each kind of error.  I
could parse and pretty-print the XML output, but instead I just parse
the human-readable (which is fragile).
tools/ccanlint/ccanlint.h
tools/ccanlint/tests/run_tests_valgrind.c