summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-04-09 13:37:04 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-10 11:28:01 +0200
commit43c420d3d0a973f70d0908688a50d4be1ca4e53e (patch)
treed8a70e3e86a0792ac8cd8b733c97e50b839b4844
parent5e806ee41ff3c3384fa63644e0dddce6105aa756 (diff)
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
-rw-r--r--src/tests/ecore/efl_app_suite.c4
1 files changed, 4 insertions, 0 deletions
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)
72 if (!_efl_test_option_disp(argc, argv, etc)) 72 if (!_efl_test_option_disp(argc, argv, etc))
73 return 0; 73 return 0;
74 74
75 eina_init();
76 efl_object_init();
75#ifdef NEED_RUN_IN_TREE 77#ifdef NEED_RUN_IN_TREE
76 putenv("EFL_RUN_IN_TREE=1"); 78 putenv("EFL_RUN_IN_TREE=1");
77#endif 79#endif
@@ -79,5 +81,7 @@ main(int argc, char **argv)
79 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1, 81 failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
80 "Efl_App", etc, SUITE_INIT_FN(efl_app), SUITE_SHUTDOWN_FN(efl_app)); 82 "Efl_App", etc, SUITE_INIT_FN(efl_app), SUITE_SHUTDOWN_FN(efl_app));
81 83
84 efl_object_shutdown();
85 eina_shutdown();
82 return (failed_count == 0) ? 0 : 255; 86 return (failed_count == 0) ? 0 : 255;
83} 87}