From: Rusty Russell Date: Thu, 20 Jan 2011 01:01:11 +0000 (+1030) Subject: ccanlint: don't collect results from test children X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=c6c779398e42756a7cb1c566e8fd23b955c4775f;ds=sidebyside ccanlint: don't collect results from test children This confuses the output, and makes us sometimes see spurious failure. At least we will still catch valgrind errors in children of failtest, thanks to --error-exitcode=101. --- diff --git a/tools/ccanlint/tests/tests_pass_valgrind.c b/tools/ccanlint/tests/tests_pass_valgrind.c index 33eb6b1f..da61dd36 100644 --- a/tools/ccanlint/tests/tests_pass_valgrind.c +++ b/tools/ccanlint/tests/tests_pass_valgrind.c @@ -112,6 +112,7 @@ static void do_run_tests_vg(struct manifest *m, * humans, and you can't have both. */ run_command(score, timeleft, &cmdout, "valgrind -q --error-exitcode=101" + " --child-silent-after-fork=yes" " --leak-check=full" " --log-fd=3 %s %s" " 3> valgrind.log",