]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/run_tests.c
ccanlint: don't use total_score to separate kinds of tests; we have subdirs
[ccan] / tools / ccanlint / tests / run_tests.c
index e996c4e2607f9e24aab424659b039bc5ccacade6..875ba758e43a70a036d3290c6ecf11effe3bc41c 100644 (file)
@@ -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++;
@@ -80,7 +79,6 @@ static const char *describe_run_tests(struct manifest *m,
 
 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,