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)
18 /* FIXME: In safe mode, we'd need complex guesstiparsing. */
22 if (get_ported(m, m->dir, true, get_or_compile_info))
24 return "'_info ported' says not supported";
27 static void check_info_ported(struct manifest *m,
28 unsigned int *timeleft, struct score *score)
34 struct ccanlint info_ported = {
37 .name = "_info indicates support for this platform",
38 .check = check_info_ported,
39 .needs = "info_exists"
42 REGISTER_TEST(info_ported);