]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/check_depends_built.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / check_depends_built.c
index b1ba40cb40493be87ae46bb6cb307ef3d79b4a2a..bb1f6ca358a821d8f14b9172f8bd737cdc107c5f 100644 (file)
@@ -100,11 +100,12 @@ static void check_depends_built(struct manifest *m,
        score->score = score->total;
 }
 
-struct ccanlint depends_built = {
-       .key = "depends-built",
+struct ccanlint depends_build = {
+       .key = "depends_build",
        .name = "Module's CCAN dependencies can be found or built",
        .check = check_depends_built,
        .can_run = can_build,
+       .needs = "depends_exist"
 };
 
-REGISTER_TEST(depends_built, &depends_exist, NULL);
+REGISTER_TEST(depends_build);