stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0998f1586fb9039622e33fad13ce4c9bafe1af4f

commit 0998f1586fb9039622e33fad13ce4c9bafe1af4f
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 9 13:36:54 2018 +0200

    tests: remove timing info for eina mempool initializer
    
    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 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tests/efl_check.h b/src/tests/efl_check.h
index 029574c204..8474a7b64e 100644
--- a/src/tests/efl_check.h
+++ b/src/tests/efl_check.h
@@ -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)
      {

-- 


Reply via email to