]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_pass_without_features.c
ccanlint: don't remove HAVE_STRUCT_TIMESPEC when testing without features.
[ccan] / tools / ccanlint / tests / tests_pass_without_features.c
index 4ce337555b97f0274ca2e7697628faf684116545..cbb23baeae0cff8d8b45127adfe13fa13eabfe7d 100644 (file)
@@ -17,7 +17,6 @@
 
 /* We don't do these under valgrind: too slow! */
 static void do_run_tests_no_features(struct manifest *m,
-                                    bool keep,
                                     unsigned int *timeleft,
                                     struct score *score)
 {
@@ -29,6 +28,8 @@ static void do_run_tests_no_features(struct manifest *m,
        foreach_ptr(list, &m->run_tests, &m->api_tests) {
                list_for_each(list, i, list) {
                        score->total++;
+                       if (verbose >= 2)
+                               printf("   %s\n", i->name);
                        if (run_command(m, timeleft, &cmdout, "%s",
                                        i->compiled[COMPILE_NOFEAT]))
                                score->score++;