X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Fcompulsory_tests%2Fhas_tests.c;h=df34a25561635c9f9352e1ed59e8fbf7015c3779;hp=930b412970353a05042623f65c91e263e37b003c;hb=6c579abb882331704795349a7d3c5797bc408562;hpb=f952b88b36e3803370825fb43385f1a42aa24b64 diff --git a/tools/ccanlint/compulsory_tests/has_tests.c b/tools/ccanlint/compulsory_tests/has_tests.c index 930b4129..df34a255 100644 --- a/tools/ccanlint/compulsory_tests/has_tests.c +++ b/tools/ccanlint/compulsory_tests/has_tests.c @@ -12,7 +12,7 @@ static char test_is_not_dir[] = "test is not a directory"; -static void *check_has_tests(struct manifest *m) +static void *check_has_tests(struct manifest *m, unsigned int *timeleft) { struct stat st; char *test_dir = talloc_asprintf(m, "%s/test", m->dir); @@ -125,7 +125,7 @@ static void handle_no_tests(struct manifest *m, void *check_result) struct ccanlint has_tests = { .key = "has-tests", - .name = "Has tests", + .name = "Module has tests", .check = check_has_tests, .describe = describe_has_tests, .handle = handle_no_tests,