]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/tests/compile_tests.c
ccanlint: list dependencies by key
[ccan-lca-2011.git] / tools / ccanlint / tests / compile_tests.c
index 80ebe913da7b227945d15e227225e16d609773c8..c61a9e5a8aeee5a702ad171c7e81c81aa2e25952 100644 (file)
@@ -131,10 +131,11 @@ static void do_compile_tests(struct manifest *m,
 }
 
 struct ccanlint compile_tests = {
-       .key = "compile-tests",
+       .key = "tests_compile",
        .name = "Module tests compile",
        .check = do_compile_tests,
        .can_run = can_build,
+       .needs = "tests_helpers_compile objects_build"
 };
 
-REGISTER_TEST(compile_tests, &compile_test_helpers, &build_objs, NULL);
+REGISTER_TEST(compile_tests);