stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=43c420d3d0a973f70d0908688a50d4be1ca4e53e

commit 43c420d3d0a973f70d0908688a50d4be1ca4e53e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 9 13:37:04 2018 +0200

    tests: ensure eina/efl_object are initialized for all efl_app tests
    
    Summary:
    these aren't tested so don't init/shutdown for every test
    
    ref T6850
    Depends on D5903
    
    Reviewers: stefan_schmidt
    
    Subscribers: cedric
    
    Maniphest Tasks: T6850
    
    Differential Revision: https://phab.enlightenment.org/D5904
---
 src/tests/ecore/efl_app_suite.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/tests/ecore/efl_app_suite.c b/src/tests/ecore/efl_app_suite.c
index 38e5f5b292..017134dacc 100644
--- a/src/tests/ecore/efl_app_suite.c
+++ b/src/tests/ecore/efl_app_suite.c
@@ -72,6 +72,8 @@ main(int argc, char **argv)
    if (!_efl_test_option_disp(argc, argv, etc))
      return 0;
 
+   eina_init();
+   efl_object_init();
 #ifdef NEED_RUN_IN_TREE
    putenv("EFL_RUN_IN_TREE=1");
 #endif
@@ -79,5 +81,7 @@ main(int argc, char **argv)
    failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
                                            "Efl_App", etc, 
SUITE_INIT_FN(efl_app), SUITE_SHUTDOWN_FN(efl_app));
 
+   efl_object_shutdown();
+   eina_shutdown();
    return (failed_count == 0) ? 0 : 255;
 }

-- 


Reply via email to