]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/check_includes_build.c
ccanlint: clean up test short descriptions
[ccan] / tools / ccanlint / compulsory_tests / check_includes_build.c
index 7e0ab945f290dfaaa83e373b3255520a4e61fc20..2962765a716f60f67861eca11d952ff987a8fa26 100644 (file)
@@ -43,7 +43,7 @@ static void *check_includes_build(struct manifest *m)
        }
        close(fd);
 
-       if (compile_object(m, tmpfile, &err))
+       if (compile_object(m, tmpfile, ccan_dir, &err))
                return NULL;
        return err;
 }
@@ -57,7 +57,8 @@ static const char *describe_includes_build(struct manifest *m,
 }
 
 struct ccanlint includes_build = {
-       .name = "Can compile against main header",
+       .key = "include-main",
+       .name = "Modules main header compiles",
        .total_score = 1,
        .check = check_includes_build,
        .describe = describe_includes_build,