]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/build.c
ccanlint: list dependencies by key
[ccan] / tools / ccanlint / compulsory_tests / build.c
index fee79b10c82499574482e2f5913258e19d9107fd..cf128f6a7c3587e6dbaf1103efa3f00cb49b2285 100644 (file)
@@ -74,10 +74,11 @@ static void do_build(struct manifest *m,
 }
 
 struct ccanlint build = {
-       .key = "build",
+       .key = "module_builds",
        .name = "Module can be built from object files",
        .check = do_build,
        .can_run = can_build,
+       .needs = "objects_build"
 };
 
-REGISTER_TEST(build, &build_objs, NULL);
+REGISTER_TEST(build);