]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/compile_tests.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / compile_tests.c
index 80ebe913da7b227945d15e227225e16d609773c8..4d8686798c0aa12040defb489cd28ebc4d7acd1b 100644 (file)
@@ -130,11 +130,12 @@ static void do_compile_tests(struct manifest *m,
        score->score = 1 + !warnings;
 }
 
-struct ccanlint compile_tests = {
-       .key = "compile-tests",
+struct ccanlint tests_compile = {
+       .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(tests_compile);