]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/tests/compile_test_helpers.c
ccanlint: list dependencies by key
[ccan-lca-2011.git] / tools / ccanlint / tests / compile_test_helpers.c
index 5763463ad178e709df940b168ad68b1fe9ba19b5..aa62e37a5fbb0aef71204648506c5eaec6182af2 100644 (file)
@@ -65,10 +65,11 @@ static void do_compile_test_helpers(struct manifest *m,
 }
 
 struct ccanlint compile_test_helpers = {
-       .key = "compile-helpers",
+       .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(compile_test_helpers);