X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_includes_build.c;fp=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_includes_build.c;h=56930e3051b7f3a8c865d925611da6e18d497470;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hp=017194e6a890abab8d54457b649cc90d33c4820c;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan diff --git a/tools/ccanlint/compulsory_tests/check_includes_build.c b/tools/ccanlint/compulsory_tests/check_includes_build.c index 017194e6..56930e30 100644 --- a/tools/ccanlint/compulsory_tests/check_includes_build.c +++ b/tools/ccanlint/compulsory_tests/check_includes_build.c @@ -72,6 +72,7 @@ struct ccanlint includes_build = { .name = "Modules main header compiles", .check = check_includes_build, .can_run = can_build, + .needs = "depends_exist main_header_exists" }; -REGISTER_TEST(includes_build, &depends_exist, &has_main_header, NULL); +REGISTER_TEST(includes_build);