X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_pass_valgrind.c;h=2f4df18b47e4382a3ea8d7032f78411fece3b536;hp=5b4250bc1c0596537b7fc80bcea9964eafb728bf;hb=79ac0049672b1f27b1a7121d06cc38721f76b8e1;hpb=54d5123a56011f805500a8d18e178874300be1f7 diff --git a/tools/ccanlint/tests/tests_pass_valgrind.c b/tools/ccanlint/tests/tests_pass_valgrind.c index 5b4250bc..2f4df18b 100644 --- a/tools/ccanlint/tests/tests_pass_valgrind.c +++ b/tools/ccanlint/tests/tests_pass_valgrind.c @@ -251,10 +251,10 @@ static void run_under_debugger_vg(struct manifest *m, struct score *score) return; first = list_top(&score->per_file_errors, struct file_error, list); - command = tal_fmt(m, "valgrind --leak-check=full --db-attach=yes%s %s", + command = tal_fmt(m, "valgrind --leak-check=full --db-attach=yes%s %s %s", concat(score, per_file_options(&tests_pass_valgrind, first->file)), - first->file->compiled[COMPILE_NORMAL]); + valgrind_suppress, first->file->compiled[COMPILE_NORMAL]); if (system(command)) doesnt_matter(); }