forked from enlightenment/efl
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 <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11286
This commit is contained in:
parent
50dbfcf31d
commit
594643b39e
|
@ -595,6 +595,9 @@ main(int argc, char *argv[])
|
||||||
printf("Finished executing %u out of %u tests.\n",
|
printf("Finished executing %u out of %u tests.\n",
|
||||||
_tests_executed,
|
_tests_executed,
|
||||||
eina_inlist_count(EINA_INLIST_GET(test_list)));
|
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. */
|
/* Sort the errors and the compare_errors. */
|
||||||
_errors = eina_list_sort(_errors, 0, (Eina_Compare_Cb) _errors_sort_cb);
|
_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+");
|
report_file = fopen(report_filename, "w+");
|
||||||
if (report_file)
|
if (report_file)
|
||||||
{
|
{
|
||||||
printf("%s %p\n", report_filename, report_file);
|
|
||||||
fprintf(report_file,
|
fprintf(report_file,
|
||||||
"<?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\">"
|
"<?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\">"
|
||||||
"<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Exactness report</title></head><body>");
|
"<html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>Exactness report</title></head><body>");
|
||||||
|
|
Loading…
Reference in New Issue