/* FIXME: Run examples, too! */
static void do_run_tests_vg(struct manifest *m,
- bool keep,
unsigned int *timeleft,
struct score *score)
{
options = concat(score,
per_file_options(&tests_pass_valgrind,
i));
- if (streq(options, "FAIL"))
+ if (streq(options, "FAIL")) {
+ i->leak_info = NULL;
continue;
-
- if (keep)
- talloc_set_destructor(i->valgrind_log, NULL);
+ }
output = grab_file(i, i->valgrind_log, NULL);
/* No valgrind errors? */
}
static void do_leakcheck_vg(struct manifest *m,
- bool keep,
unsigned int *timeleft,
struct score *score)
{
concat(score,
per_file_options(&tests_pass_valgrind,
first->file)),
- first->file->compiled);
+ first->file->compiled[COMPILE_NORMAL]);
if (system(command))
doesnt_matter();
}