tests: flush stdout after printing test suite timing info
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 16 Apr 2018 09:46:01 +0000 (11:46 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 28 May 2018 10:26:04 +0000 (19:26 +0900)
Summary:
avoid repeating lines

Depends on D5937

Reviewers: stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5917

src/tests/efl_check.h

index faa185b..4a1944f 100644 (file)
@@ -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;
 }