From 594643b39e25fafb46442064895970ba44166ddc Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 16 Jan 2019 15:41:50 +0100 Subject: [PATCH] exactness: print out statistics at the end of the run Given a better overview after the wall of text we are seeing from starting and stopping jobs in parallel. Reviewed-by: Mike Blumenkrantz Differential Revision: https://phab.enlightenment.org/D11286 --- src/bin/exactness/exactness.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/exactness/exactness.c b/src/bin/exactness/exactness.c index 06c6097cf5..9b6153470a 100644 --- a/src/bin/exactness/exactness.c +++ b/src/bin/exactness/exactness.c @@ -595,6 +595,9 @@ main(int argc, char *argv[]) printf("Finished executing %u out of %u tests.\n", _tests_executed, eina_inlist_count(EINA_INLIST_GET(test_list))); + printf("%u tests executed\n", _tests_executed); + printf("%u tests had execution errors\n", eina_list_count(_errors)); + printf("%u screenshots failed comparison\n", eina_list_count(_compare_errors)); /* Sort the errors and the compare_errors. */ _errors = eina_list_sort(_errors, 0, (Eina_Compare_Cb) _errors_sort_cb); @@ -611,7 +614,6 @@ main(int argc, char *argv[]) report_file = fopen(report_filename, "w+"); if (report_file) { - printf("%s %p\n", report_filename, report_file); fprintf(report_file, "" "Exactness report");