Signed-off-by: Radim Krčmář <rkrcmar@xxxxxxxxxx> --- lib/report.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/report.c b/lib/report.c index 430b2aeaecbd..4cd75534f978 100644 --- a/lib/report.c +++ b/lib/report.c @@ -95,7 +95,9 @@ int report_summary(void) { spin_lock(&lock); - printf("\nSUMMARY: %d tests, %d unexpected failures", tests, failures); + printf("\nSUMMARY: %d tests", tests); + if (failures) + printf(", %d unexpected failures", failures); if (xfailures) printf(", %d expected failures", xfailures); if (skipped) -- 2.8.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html