]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/build-coverage.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / tests / build-coverage.c
index 31bb7882fed96956da8677dfb9541989852a1b6a..115ae94a15e50a7f4050f2b307e5bdb18295b944 100644 (file)
@@ -142,11 +142,12 @@ static void do_compile_coverage_tests(struct manifest *m,
        }
 }
 
-struct ccanlint compile_coverage_tests = {
-       .key = "compile-coverage-tests",
-       .name = "Module tests compile with profiling",
+struct ccanlint tests_compile_coverage = {
+       .key = "tests_compile_coverage",
+       .name = "Module tests compile with " COVERAGE_CFLAGS,
        .check = do_compile_coverage_tests,
        .can_run = can_run_coverage,
+       .needs = "tests_compile"
 };
 
-REGISTER_TEST(compile_coverage_tests, &compile_tests, NULL);
+REGISTER_TEST(tests_compile_coverage);