]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/compile_test_helpers.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / compile_test_helpers.c
index 0169f6024f21b3e263d5423bd168d16c498b539c..0ad5a7e67cc7847fb9bbc9c568ef403b7752eb7d 100644 (file)
@@ -64,11 +64,12 @@ static void do_compile_test_helpers(struct manifest *m,
        }
 }
 
-struct ccanlint compile_test_helpers = {
+struct ccanlint tests_helpers_compile = {
        .key = "tests_helpers_compile",
        .name = "Module test helper objects compile",
        .check = do_compile_test_helpers,
        .can_run = can_run,
+       .needs = "depends_build tests_exist"
 };
 
-REGISTER_TEST(compile_test_helpers, &depends_built, &has_tests, NULL);
+REGISTER_TEST(tests_helpers_compile);