Message ID | 1462983171-4208-8-git-send-email-rkrcmar@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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)