]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/tests/compile_test_helpers.c
ccanlint: rename structures to match keys
[ccan-lca-2011.git] / tools / ccanlint / tests / compile_test_helpers.c
index 5763463ad178e709df940b168ad68b1fe9ba19b5..0ad5a7e67cc7847fb9bbc9c568ef403b7752eb7d 100644 (file)
@@ -64,11 +64,12 @@ static void do_compile_test_helpers(struct manifest *m,
        }
 }
 
-struct ccanlint compile_test_helpers = {
-       .key = "compile-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);