]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.c
grab_fd and grab_file: add a size arg, use everywhere.
[ccan] / tools / ccanlint / ccanlint.c
index 001ee689df834b2e1cdc48b839d9d84a8f71d482..29ad7c6093164ad5f4e25c21c972e55b6a9874d3 100644 (file)
@@ -149,8 +149,9 @@ int main(int argc, char *argv[])
        if (verbose)
                printf("Compulsory tests:\n");
        list_for_each(&tests, i, list)
-               if (!i->total_score && !run_test(i, summary, NULL, NULL, m))
-                       exit(1);
+               if (!i->total_score)
+                       if (!run_test(i, summary, &score, &total_score, m))
+                               exit(1);
 
        if (verbose)
                printf("\nNormal tests:\n");