]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/build.c
ccanlint: rename structures to match keys
[ccan] / tools / ccanlint / compulsory_tests / build.c
index fee79b10c82499574482e2f5913258e19d9107fd..9d697a303a57399a1754da32db7dfc0c20d1ffa0 100644 (file)
@@ -73,11 +73,12 @@ static void do_build(struct manifest *m,
        score->score = score->total;
 }
 
-struct ccanlint build = {
-       .key = "build",
+struct ccanlint module_builds = {
+       .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(module_builds);