Commit 669853bf authored by Matthias Vallentin's avatar Matthias Vallentin

Show green only if all tests pass; red otherwise

parent 7aa4e43c
......@@ -428,7 +428,7 @@ bool engine::run(bool colorize,
}
log.info() << '\n' << indent << "time: " << color(yellow)
<< render(runtime) << '\n' << color(reset) << indent
<< "success: " << (total_bad > 0 ? color(green) : color(yellow))
<< "success: " << (total_bad > 0 ? color(red) : color(green))
<< percent_good << "%" << color(reset) << "\n\n" << color(cyan)
<< bar << color(reset) << '\n';
return total_bad == total_bad_expected;
......
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