]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/build.c
ccanlint: timeout, and implement -t option for quicker tests.
[ccan] / tools / ccanlint / compulsory_tests / build.c
index d2b22ac5ef51726cc2c06c14d97b19239d1e6e5e..ec9e6de173aa6a8f040981f73dd051d1bbb7cf23 100644 (file)
@@ -33,7 +33,7 @@ static char *obj_list(const struct manifest *m)
        return list;
 }
 
        return list;
 }
 
-static void *do_build(struct manifest *m)
+static void *do_build(struct manifest *m, unsigned int *timeleft)
 {
        char *filename, *err;
 
 {
        char *filename, *err;
 
@@ -62,7 +62,8 @@ static const char *describe_build(struct manifest *m, void *check_result)
 }
 
 struct ccanlint build = {
 }
 
 struct ccanlint build = {
-       .name = "Module can be built",
+       .key = "build",
+       .name = "Module can be built from object files",
        .total_score = 1,
        .check = do_build,
        .describe = describe_build,
        .total_score = 1,
        .check = do_build,
        .describe = describe_build,