summaryrefslogtreecommitdiff
path: root/src/tests/ecore_con/ecore_con_suite.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-11-30 15:43:15 -0800
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-06 09:29:28 +0100
commit6967f0a797a1ae41022dc808b67495bf9170d536 (patch)
treeacd8c9f4b64903738a43570a7871bd5af7409263 /src/tests/ecore_con/ecore_con_suite.c
parentb6346d0bb3ab93a86efb1f22ef2c710782859f15 (diff)
ecore_con: fix multi shutdown excessive warning by initializing ecore independently.
Differential Revision: https://phab.enlightenment.org/D7398
Diffstat (limited to 'src/tests/ecore_con/ecore_con_suite.c')
-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