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