}
static void check_depends_accurate(struct manifest *m,
- bool keep,
unsigned int *timeleft, struct score *score)
{
struct list_head *list;
+ /* FIXME: This isn't reliable enough with #ifdefs, so we don't fail. */
+ score->pass = true;
+
foreach_ptr(list, &m->c_files, &m->h_files,
&m->run_tests, &m->api_tests,
&m->compile_ok_tests, &m->compile_fail_tests,
continue;
if (has_dep(m, mod))
continue;
- score->error = "Includes a ccan module"
- " not listed in _info";
- score_file_error(score, f, i+1, lines[i]);
+ score_file_error(score, f, i+1,
+ "%s not listed in _info",
+ mod);
}
}
}
if (!score->error) {
- score->pass = true;
score->score = score->total;
}
}