tools/ccanlint: build tests are now compulsory
[ccan] / tools / ccanlint / compulsory_tests / has_tests.c
index a71a1569be702c609f96551a2cdc3e5727e91dd1..cd31d2229cca047d41c758c7702d58bf1c7f725c 100644 (file)
@@ -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);