/* FIXME: Run examples, too! */
static void do_run_tests_vg(struct manifest *m,
- unsigned int *timeleft,
+ unsigned int *timeleft UNNEEDED,
struct score *score)
{
struct ccan_file *i;
}
static void do_leakcheck_vg(struct manifest *m,
- unsigned int *timeleft,
+ unsigned int *timeleft UNNEEDED,
struct score *score)
{
struct ccan_file *i;
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]);
- if (system(command))
+ valgrind_suppress, first->file->compiled[COMPILE_NORMAL]);
+ if (system(command)) {
doesnt_matter();
+ }
}
struct ccanlint tests_pass_valgrind = {