X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_depends_exist.c;fp=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_depends_exist.c;h=12eaf021410153c5567ea1abd22a98afa5ba0b51;hp=ffbf4539bf6f07ad31a3e8aaaf8390ceb8b2f9f0;hb=016a19d260cd7f4afeb5b2b2cc28c8bbed1cd170;hpb=f9423c171395571f9880286190d9cf63da147668 diff --git a/tools/ccanlint/compulsory_tests/check_depends_exist.c b/tools/ccanlint/compulsory_tests/check_depends_exist.c index ffbf4539..12eaf021 100644 --- a/tools/ccanlint/compulsory_tests/check_depends_exist.c +++ b/tools/ccanlint/compulsory_tests/check_depends_exist.c @@ -72,6 +72,7 @@ struct ccanlint depends_exist = { .key = "depends_exist", .name = "Module's CCAN dependencies can be found", .check = check_depends_exist, + .needs = "info_exists" }; -REGISTER_TEST(depends_exist, &has_info, NULL); +REGISTER_TEST(depends_exist);