]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_coverage.c
ccanlint: score_file_error() takes printf-format
[ccan] / tools / ccanlint / tests / tests_coverage.c
index af8d6f21c845948fbbae3cd1413cbfc6ac8e2938..7943071b76634bfc50ce88e962ba8dfffc4480e6 100644 (file)
@@ -145,8 +145,9 @@ static void do_run_coverage_tests(struct manifest *m,
                                covcmd = talloc_asprintf_append(covcmd, " %s",
                                                                i->fullname);
                        } else {
-                               score->error = "Running test with coverage";
-                               score_file_error(score, i, 0, cmdout);
+                               score_file_error(score, i, 0,
+                                                "Running test with coverage"
+                                                " failed: %s", cmdout);
                                return;
                        }
                }