X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_build.c;h=db2e16d54a4f8cd89fdec478094ff0a279d3f592;hp=39f16c2e0e8fd15f2bd21e5c354014c68ed67ea4;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hpb=f9423c171395571f9880286190d9cf63da147668 diff --git a/tools/ccanlint/compulsory_tests/check_build.c b/tools/ccanlint/compulsory_tests/check_build.c index 39f16c2e..db2e16d5 100644 --- a/tools/ccanlint/compulsory_tests/check_build.c +++ b/tools/ccanlint/compulsory_tests/check_build.c @@ -88,6 +88,7 @@ struct ccanlint check_build = { .name = "Module can be linked against trivial program", .check = check_use_build, .can_run = can_build, + .needs = "module_builds depends_build" }; -REGISTER_TEST(check_build, &build, &depends_built, NULL); +REGISTER_TEST(check_build);