diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-01-16 15:41:50 +0100 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2020-02-05 10:09:25 +0100 |
commit | b6bb13da2cd8ded24008ee06735df88ee06542f2 (patch) | |
tree | fd61f7b06219a26adb48fdafcb91510535eb6170 | |
parent | 12cc2a93dd282c37547d500258162e87cdd05339 (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/D11286
-rw-r--r-- | src/bin/exactness/exactness.c | 4 |
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>"); |