]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/compulsory_tests/has_tests.c
ccanlint: Add -k option to keep results.
[ccan] / tools / ccanlint / compulsory_tests / has_tests.c
index df34a25561635c9f9352e1ed59e8fbf7015c3779..04dd4495bb33e2207f8402ecb4ff3bf1ecff0fbe 100644 (file)
@@ -12,7 +12,9 @@
 
 static char test_is_not_dir[] = "test is not a directory";
 
-static void *check_has_tests(struct manifest *m, unsigned int *timeleft)
+static void *check_has_tests(struct manifest *m,
+                            bool keep,
+                            unsigned int *timeleft)
 {
        struct stat st;
        char *test_dir = talloc_asprintf(m, "%s/test", m->dir);