From: Joseph Adams <joeyadams3.14159@gmail.com>
[ccan] / tools / ccanlint / compulsory_tests / has_info.c
index ed2d4c813c0c1b7d4a29f9b7de6b79aec59bb043..a5c825265b3266bf9f6b00edc624345d255dd97f 100644 (file)
@@ -71,8 +71,11 @@ static void create_info_template(struct manifest *m, void *check_result)
 }
 
 struct ccanlint has_info = {
+       .key = "info",
        .name = "Has _info file",
        .check = check_has_info,
        .describe = describe_has_info,
        .handle = create_info_template,
 };
+
+REGISTER_TEST(has_info, NULL);