From: Mike Blumenkrantz Date: Mon, 16 Apr 2018 09:46:01 +0000 (+0200) Subject: tests: flush stdout after printing test suite timing info X-Git-Tag: upstream/1.21.0~1136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e3f08808d7d2ca30751efec7efd1c75f2877a8e;p=platform%2Fupstream%2Fefl.git tests: flush stdout after printing test suite timing info Summary: avoid repeating lines Depends on D5937 Reviewers: stefan_schmidt Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5917 --- diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h index faa185b..4a1944f 100644 --- a/src/tests/efl_check.h +++ b/src/tests/efl_check.h @@ -320,7 +320,10 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co #ifdef ENABLE_TIMING_INFO if (timing) - printf("SUITE TIME %s: %.5g\n", suite_name, _timing_time_get() - tstart); + { + printf("SUITE TIME(%u) %s: %.5g\n", getpid(), suite_name, _timing_time_get() - tstart); + fflush(stdout); + } #endif return failed_count; }