]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/build_objs.c
ccanlint: timeout, and implement -t option for quicker tests.
[ccan] / tools / ccanlint / compulsory_tests / build_objs.c
index 4c0b6bba8dd97487c3070d22c00944a540f6f65c..619c600807d2b7a29d463c0f83b3ca59864db409 100644 (file)
@@ -21,7 +21,7 @@ static const char *can_build(struct manifest *m)
        return NULL;
 }
 
-static void *check_objs_build(struct manifest *m)
+static void *check_objs_build(struct manifest *m, unsigned int *timeleft)
 {
        char *report = NULL;
        struct ccan_file *i;
@@ -50,6 +50,7 @@ static const char *describe_objs_build(struct manifest *m, void *check_result)
 }
 
 struct ccanlint build_objs = {
+       .key = "build-objs",
        .name = "Module object files can be built",
        .check = check_objs_build,
        .describe = describe_objs_build,