stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3547297f8099b09522b153bdf13ad257658589cd

commit 3547297f8099b09522b153bdf13ad257658589cd
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Apr 9 13:37:01 2018 +0200

    tests: add fixtures for efl_app tests
    
    Summary:
    ref T6811
    Depends on D5896
    
    Reviewers: stefan_schmidt
    
    Subscribers: cedric
    
    Maniphest Tasks: T6811
    
    Differential Revision: https://phab.enlightenment.org/D5897
---
 src/tests/ecore/efl_app_suite.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/src/tests/ecore/efl_app_suite.c b/src/tests/ecore/efl_app_suite.c
index 25854ff528..f79e5f8b80 100644
--- a/src/tests/ecore/efl_app_suite.c
+++ b/src/tests/ecore/efl_app_suite.c
@@ -52,6 +52,16 @@ static const Efl_Test_Case etc[] = {
   { NULL, NULL }
 };
 
+SUITE_INIT(efl_app)
+{
+   ck_assert_int_eq(ecore_init(), 1);
+}
+
+SUITE_SHUTDOWN(efl_app)
+{
+   ck_assert_int_eq(ecore_shutdown(), 0);
+}
+
 int
 main(int argc, char **argv)
 {
@@ -65,7 +75,7 @@ main(int argc, char **argv)
 #endif
 
    failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
-                                           "Efl_App", etc, NULL, NULL);
+                                           "Efl_App", etc, 
SUITE_INIT_FN(efl_app), SUITE_SHUTDOWN_FN(efl_app));
 
    return (failed_count == 0) ? 0 : 255;
 }

-- 


Reply via email to