]> git.ozlabs.org Git - ccan-lca-2011.git/blobdiff - tools/ccanlint/compulsory_tests/build_objs.c
ccanlint: list dependencies by key
[ccan-lca-2011.git] / tools / ccanlint / compulsory_tests / build_objs.c
index d26844941c859e10d85fa2e7ae27148fefea98da..7696b4641edf6fc649806a5af1e12c66b09d6d72 100644 (file)
@@ -58,10 +58,11 @@ static void check_objs_build(struct manifest *m,
 }
 
 struct ccanlint build_objs = {
-       .key = "build-objects",
+       .key = "objects_build",
        .name = "Module object files can be built",
        .check = check_objs_build,
        .can_run = can_build,
+       .needs = "depends_exist"
 };
 
-REGISTER_TEST(build_objs, &depends_exist, NULL);
+REGISTER_TEST(build_objs);