Commit 37e247db authored by Rusty Russell's avatar Rusty Russell

ccanlint: print coverage amount when -vv

parent 4a1ec39e
......@@ -110,6 +110,10 @@ static void analyze_coverage(struct manifest *m, bool full_gcov,
score->pass = true;
if (verbose > 1)
printf("%u of %u lines covered\n",
(unsigned)covered_lines, total_lines);
/* Nothing covered? We can't tell if there's a source file which
* was never executed, or there really is no code to execute, so
* assume the latter: this test deserves no score. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment