X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fcheck_depends_exist.c;h=12eaf021410153c5567ea1abd22a98afa5ba0b51;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=ffbf4539bf6f07ad31a3e8aaaf8390ceb8b2f9f0;hpb=f9423c171395571f9880286190d9cf63da147668;p=ccan 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);