i->leak_info = get_leaks(output, &err);
}
if (err)
- score_file_error(score, i, 0, err);
+ score_file_error(score, i, 0, "%s", err);
else
score->score++;
}
foreach_ptr(list, &m->run_tests, &m->api_tests) {
list_for_each(list, i, list) {
if (i->leak_info) {
- score_file_error(score, i, 0, i->leak_info);
+ score_file_error(score, i, 0, "%s",
+ i->leak_info);
leaks = true;
}
}
}
+ /* FIXME: We don't fail for this, since many tests leak. */
+ score->pass = true;
if (!leaks) {
score->score = 1;
- score->pass = true;
}
}