ccanlint: have valgrind fail with an error, always
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Jan 2011 10:41:47 +0000 (21:11 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Jan 2011 10:41:47 +0000 (21:11 +1030)
commitb3a47758b62c98a3a981e7b822e68c37380831e3
treef6c77104d80119d32fbbb73d6ab0926a157d394a
parent2d4243996a4ace6d4eac1da460dd5bbcb31304ce
ccanlint: have valgrind fail with an error, always

The upcoming failtest module can only tell that a child failed when it
exits with a non-zero error.  So we need this, although it means for ccanlint
it still needs to look at output to distinguish a memory leak from a real
error.
tools/ccanlint/tests/run_tests_valgrind.c