X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fbuild-coverage.c;h=115ae94a15e50a7f4050f2b307e5bdb18295b944;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=31bb7882fed96956da8677dfb9541989852a1b6a;hpb=451d97ad85e65061223f04dceaca0454c7b2201a;p=ccan diff --git a/tools/ccanlint/tests/build-coverage.c b/tools/ccanlint/tests/build-coverage.c index 31bb7882..115ae94a 100644 --- a/tools/ccanlint/tests/build-coverage.c +++ b/tools/ccanlint/tests/build-coverage.c @@ -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);