stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5065356ae69b8d9db79fcffb1eab1b183bf69399

commit 5065356ae69b8d9db79fcffb1eab1b183bf69399
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Tue Apr 12 17:22:28 2016 +0200

    tests/eldbus: add now needed calls to ecore_init/shutdown
    
    Since commit 53c66c98c2ae13a8c96b4ae1f9d735cda179e89d eldbus o longer calls
    ecore_init() wo we need to handle this. Fixes the edlbus tests cases.
---
 src/tests/eldbus/eldbus_test_eldbus_init.c  | 3 +++
 src/tests/eldbus/eldbus_test_eldbus_model.c | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/src/tests/eldbus/eldbus_test_eldbus_init.c 
b/src/tests/eldbus/eldbus_test_eldbus_init.c
index f530d4c..65f229e 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_init.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_init.c
@@ -22,10 +22,13 @@ START_TEST(eldbus_test_eldbus)
 {
    int ret;
 
+   ecore_init();
    ret = eldbus_init();
    fail_if(ret < 1);
 
    ret = eldbus_shutdown();
+
+   ecore_shutdown();
 }
 END_TEST
 
diff --git a/src/tests/eldbus/eldbus_test_eldbus_model.c 
b/src/tests/eldbus/eldbus_test_eldbus_model.c
index 8dc5e15..86ba35a 100644
--- a/src/tests/eldbus/eldbus_test_eldbus_model.c
+++ b/src/tests/eldbus/eldbus_test_eldbus_model.c
@@ -90,6 +90,7 @@ efl_model_load_and_wait_for_load_status(Eo *obj, 
Efl_Model_Load_Status expected_
 void
 check_init(void)
 {
+   ecore_init();
    int ret = eldbus_init();
    ck_assert_int_ge(ret, 1);
 }
@@ -99,6 +100,7 @@ check_shutdown(void)
 {
    int ret = eldbus_shutdown();
    ck_assert_int_eq(ret, 0);
+   ecore_shutdown();
 }
 
 void

-- 


Reply via email to