X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Frun_tests.c;h=33daff033a74673cef2513d3bd07ee11f4c05252;hp=e996c4e2607f9e24aab424659b039bc5ccacade6;hb=382e1e2900997b5cc5f28c350c6fcb54d4859ecc;hpb=4e0dfdadf206c74dc9e5f302545b2419cc4798f4 diff --git a/tools/ccanlint/tests/run_tests.c b/tools/ccanlint/tests/run_tests.c index e996c4e2..33daff03 100644 --- a/tools/ccanlint/tests/run_tests.c +++ b/tools/ccanlint/tests/run_tests.c @@ -29,7 +29,6 @@ static void *do_run_tests(struct manifest *m) list_head_init(list); - run_tests.total_score = 0; list_for_each(&m->run_tests, i, list) { char *testout; run_tests.total_score++; @@ -78,9 +77,10 @@ static const char *describe_run_tests(struct manifest *m, return talloc_append_string(descrip, check_result); } +/* FIXME: Handle by offering to run under debugger... */ + struct ccanlint run_tests = { .name = "run and api tests run successfully", - .total_score = 1, .score = score_run_tests, .check = do_run_tests, .describe = describe_run_tests,