summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-01-20 11:31:11 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-01-20 11:31:11 +1030
commitc6c779398e42756a7cb1c566e8fd23b955c4775f (patch)
tree990973ef8c10f9cc4510fabc60742a18e5f00a45
parent1b2efd5679452d03ff7a0dacb496eb3830b37434 (diff)
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.
-rw-r--r--tools/ccanlint/tests/tests_pass_valgrind.c1
1 files changed, 1 insertions, 0 deletions
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",