summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-01-16 15:41:50 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-01-31 14:14:01 +0100
commitba0983849ab0b99a3c85e04990b8ae5c1144acde (patch)
treeb967794e34f09f3b37801f3d2b0943a373c92e96
parent9a8078cb799d2a34f1c5682c2e42dbdf19d2ee57 (diff)
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. Differential Revision: https://phab.enlightenment.org/D11122
-rw-r--r--src/bin/exactness/exactness.c4
1 files changed, 3 insertions, 1 deletions
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[])
595 printf("Finished executing %u out of %u tests.\n", 595 printf("Finished executing %u out of %u tests.\n",
596 _tests_executed, 596 _tests_executed,
597 eina_inlist_count(EINA_INLIST_GET(test_list))); 597 eina_inlist_count(EINA_INLIST_GET(test_list)));
598 printf("%u tests executed\n", _tests_executed);
599 printf("%u tests had execution errors\n", eina_list_count(_errors));
600 printf("%u screenshots failed comparison\n", eina_list_count(_compare_errors));
598 601
599 /* Sort the errors and the compare_errors. */ 602 /* Sort the errors and the compare_errors. */
600 _errors = eina_list_sort(_errors, 0, (Eina_Compare_Cb) _errors_sort_cb); 603 _errors = eina_list_sort(_errors, 0, (Eina_Compare_Cb) _errors_sort_cb);
@@ -611,7 +614,6 @@ main(int argc, char *argv[])
611 report_file = fopen(report_filename, "w+"); 614 report_file = fopen(report_filename, "w+");
612 if (report_file) 615 if (report_file)
613 { 616 {
614 printf("%s %p\n", report_filename, report_file);
615 fprintf(report_file, 617 fprintf(report_file,
616 "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">" 618 "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
617 "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Exactness report</title></head><body>"); 619 "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Exactness report</title></head><body>");