]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/run_tests.c
More test fixes.
[ccan] / tools / ccanlint / tests / run_tests.c
index e996c4e2607f9e24aab424659b039bc5ccacade6..33daff033a74673cef2513d3bd07ee11f4c05252 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++;
@@ -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,