X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_tests.c;h=cd31d2229cca047d41c758c7702d58bf1c7f725c;hp=a71a1569be702c609f96551a2cdc3e5727e91dd1;hb=5f44c8ca0eb66503db51e0df1b65ff173eb42f57;hpb=8f61c0bccb152b2365baf70deac1e59264d7feb7 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);