1 #include <tools/ccanlint/ccanlint.h>
2 #include <tools/tools.h>
3 #include <ccan/str/str.h>
16 static const char *can_build(struct manifest *m)
20 /* FIXME: In safe mode, we'd need complex guesstiparsing. */
24 msg = get_ported(m, m->dir, true, get_or_compile_info);
27 return tal_fmt(m, "'_info ported' says '%s'", msg);
30 static void check_info_ported(struct manifest *m,
31 unsigned int *timeleft, struct score *score)
37 struct ccanlint info_ported = {
40 .name = "_info indicates support for this platform",
41 .check = check_info_ported,
42 .needs = "info_compiles"
45 REGISTER_TEST(info_ported);