tests: remove timing info for eina mempool initializer
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 9 Apr 2018 11:36:54 +0000 (13:36 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:28:42 +0000 (22:28 +0900)
Summary:
this is buggy somehow and prints its info a few dozen times, likely
taking longer to print the info than to run the actual test
Depends on D5879

Reviewers: stefan_schmidt

Subscribers: cedric

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

src/tests/efl_check.h

index 029574c..8474a7b 100644 (file)
@@ -247,7 +247,7 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co
    int can_fork = 0;
 #ifdef ENABLE_TIMING_INFO
    double tstart;
-   int timing = _timing_enabled();
+   int timing = strcmp(suite_name, "eina_init_module") && _timing_enabled();
 
    if (timing)
      tstart = _timing_time_get();
@@ -255,7 +255,8 @@ _efl_suite_build_and_run(int argc, const char **argv, const char *suite_name, co
    s = suite_create(suite_name);
    sr = srunner_create(s);
    do_fork = _efl_test_fork_has(sr);
-   can_fork = strcmp(suite_name, "Eldbus" /* T6848 */);
+   if (do_fork)
+     can_fork = strcmp(suite_name, "Eldbus" /* T6848 */) && strcmp(suite_name, "eina_init_module");
 
    for (i = 0; etc[i].test_case; ++i)
      {