]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/build-coverage.c
ccanlint: list dependencies by key
[ccan] / tools / ccanlint / tests / build-coverage.c
index 31bb7882fed96956da8677dfb9541989852a1b6a..55eca373dc0ca44d63bd87c8cb3506c7d16fe29e 100644 (file)
@@ -143,10 +143,11 @@ static void do_compile_coverage_tests(struct manifest *m,
 }
 
 struct ccanlint compile_coverage_tests = {
-       .key = "compile-coverage-tests",
-       .name = "Module tests compile with profiling",
+       .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(compile_coverage_tests);