X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fcompile_test_helpers.c;h=0ad5a7e67cc7847fb9bbc9c568ef403b7752eb7d;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=0169f6024f21b3e263d5423bd168d16c498b539c;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan-lca-2011.git diff --git a/tools/ccanlint/tests/compile_test_helpers.c b/tools/ccanlint/tests/compile_test_helpers.c index 0169f60..0ad5a7e 100644 --- a/tools/ccanlint/tests/compile_test_helpers.c +++ b/tools/ccanlint/tests/compile_test_helpers.c @@ -64,11 +64,12 @@ static void do_compile_test_helpers(struct manifest *m, } } -struct ccanlint compile_test_helpers = { +struct ccanlint tests_helpers_compile = { .key = "tests_helpers_compile", .name = "Module test helper objects compile", .check = do_compile_test_helpers, .can_run = can_run, + .needs = "depends_build tests_exist" }; -REGISTER_TEST(compile_test_helpers, &depends_built, &has_tests, NULL); +REGISTER_TEST(tests_helpers_compile);