X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fdepends_accurate.c;h=a6d3a73a85dd94b6b4289f4c14dd1100b260f80b;hb=2926cafb52b9d95646d9dafa877d53f2368d8b2c;hp=943fa350e09b3a8d6bc8ffc10c990f3e12e4a8d7;hpb=451d97ad85e65061223f04dceaca0454c7b2201a;p=ccan diff --git a/tools/ccanlint/tests/depends_accurate.c b/tools/ccanlint/tests/depends_accurate.c index 943fa350..a6d3a73a 100644 --- a/tools/ccanlint/tests/depends_accurate.c +++ b/tools/ccanlint/tests/depends_accurate.c @@ -87,9 +87,10 @@ static void check_depends_accurate(struct manifest *m, } struct ccanlint depends_accurate = { - .key = "depends-accurate", - .name = "Module's CCAN dependencies are the only ccan files #included", + .key = "depends_accurate", + .name = "Module's CCAN dependencies are the only CCAN files #included", .check = check_depends_accurate, + .needs = "depends_exist" }; -REGISTER_TEST(depends_accurate, &depends_exist, NULL); +REGISTER_TEST(depends_accurate);