X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fbuild-coverage.c;h=115ae94a15e50a7f4050f2b307e5bdb18295b944;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=927cd8b077dbaf813af63e5f7f696421096e0652;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan-lca-2011.git diff --git a/tools/ccanlint/tests/build-coverage.c b/tools/ccanlint/tests/build-coverage.c index 927cd8b..115ae94 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 = { +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);