]> 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 21fbdcdee80e6bb8e29258f867f94656dc2d4b69..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, &depends_built, &build_objs, NULL);
+REGISTER_TEST(build);