We can easily report how many tests failed.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/testutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testutils.c b/tests/testutils.c
index d77b9e8db2..e546422941 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -922,7 +922,7 @@ int virTestMain(int argc,
if (ret == EXIT_FAILURE && !virBitmapIsAllClear(failedTests)) {
g_autofree char *failed = virBitmapFormat(failedTests);
- fprintf(stderr, "Some tests failed. Run them using:\n");
+ fprintf(stderr, "%zu tests failed. Run them using:\n",
virBitmapCountBits(failedTests));
fprintf(stderr, "VIR_TEST_DEBUG=1 VIR_TEST_RANGE=%s %s\n", failed,
argv[0]);
}
--
2.41.0