X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_tests.c;h=cd31d2229cca047d41c758c7702d58bf1c7f725c;hb=0c532d80a73cae44360595c762dddefcd7e0a4ec;hp=a71a1569be702c609f96551a2cdc3e5727e91dd1;hpb=8f61c0bccb152b2365baf70deac1e59264d7feb7;p=ccan diff --git a/tools/ccanlint/compulsory_tests/has_tests.c b/tools/ccanlint/compulsory_tests/has_tests.c index a71a1569..cd31d222 100644 --- a/tools/ccanlint/compulsory_tests/has_tests.c +++ b/tools/ccanlint/compulsory_tests/has_tests.c @@ -123,8 +123,10 @@ static void handle_no_tests(struct manifest *m, void *check_result) } struct ccanlint has_tests = { - .name = "No tests", + .name = "Has tests", .check = check_has_tests, .describe = describe_has_tests, .handle = handle_no_tests, }; + +REGISTER_TEST(has_tests, NULL);