summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-11-30 15:43:15 -0800
committerChristopher Michael <cp.michael@samsung.com>2018-12-06 12:06:17 -0500
commit6e9a045d7dbfaab031111d47ea6da62fb50d75cb (patch)
tree1d67b5e5fcb1a94e5234d75bd67e326f9f2f3ace
parentd5d6aa701b159225eeeb01594853c05aba1273ea (diff)
ecore_con: fix multi shutdown excessive warning by initializing ecore independently.
Differential Revision: https://phab.enlightenment.org/D7398
-rw-r--r--src/tests/ecore_con/ecore_con_suite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/ecore_con/ecore_con_suite.c b/src/tests/ecore_con/ecore_con_suite.c
index 614af39500..b7a5192a38 100644
--- a/src/tests/ecore_con/ecore_con_suite.c
+++ b/src/tests/ecore_con/ecore_con_suite.c
@@ -28,6 +28,7 @@ _timeout_timer(void *d EINA_UNUSED)
28 28
29SUITE_INIT(ecore_con) 29SUITE_INIT(ecore_con)
30{ 30{
31 ck_assert_int_eq(ecore_init(), 1);
31 ck_assert_int_eq(ecore_con_init(), 1); 32 ck_assert_int_eq(ecore_con_init(), 1);
32 timeout_timer = ecore_timer_add(TIMEOUT, _timeout_timer, NULL); 33 timeout_timer = ecore_timer_add(TIMEOUT, _timeout_timer, NULL);
33} 34}
@@ -37,6 +38,7 @@ SUITE_SHUTDOWN(ecore_con)
37 if (timeout_timer) ecore_timer_del(timeout_timer); 38 if (timeout_timer) ecore_timer_del(timeout_timer);
38 timeout_timer = NULL; 39 timeout_timer = NULL;
39 ck_assert_int_eq(ecore_con_shutdown(), 0); 40 ck_assert_int_eq(ecore_con_shutdown(), 0);
41 ck_assert_int_eq(ecore_shutdown(), 0);
40} 42}
41 43
42int 44int