list = talloc_asprintf_append(list, " %s.o", m->dir);
/* Other ccan modules. */
- list_for_each(&m->dep_objs, i, list)
- list = talloc_asprintf_append(list, " %s", i->name);
+ list_for_each(&m->dep_dirs, i, list) {
+ if (i->compiled)
+ list = talloc_asprintf_append(list, " %s", i->compiled);
+ }
return list;
}
const char *output;
};
-static void *do_compile_tests(struct manifest *m)
+static void *do_compile_tests(struct manifest *m, unsigned int *timeleft)
{
struct list_head *list = talloc(m, struct list_head);
char *cmdout;
}
struct ccanlint compile_tests = {
- .name = "Compile tests succeed",
+ .key = "compile",
+ .name = "Module tests compile",
.score = score_compile_tests,
.check = do_compile_tests,
.describe = describe_compile_tests,