stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5

commit 730020c7d4a87daf60cbfbb3a0a912b4f75d8cb5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Mar 27 13:42:38 2018 -0400

    tests: remove duplicated eina mempool test
    
    Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
---
 src/tests/eina/eina_test_mempool.c | 39 --------------------------------------
 1 file changed, 39 deletions(-)

diff --git a/src/tests/eina/eina_test_mempool.c 
b/src/tests/eina/eina_test_mempool.c
index 426b5f670c..9fa9c940a5 100644
--- a/src/tests/eina/eina_test_mempool.c
+++ b/src/tests/eina/eina_test_mempool.c
@@ -24,37 +24,6 @@
 
 #include "eina_suite.h"
 
-static Eina_Array *_modules;
-
-static void
-_mempool_init(void)
-{
-   eina_init();
-   /* force modules to be loaded in case they are not installed */
-   _modules = eina_module_list_get(NULL,
-                                   PACKAGE_BUILD_DIR "/src/modules/eina",
-                                   EINA_TRUE,
-                                   NULL,
-                                   NULL);
-   eina_module_list_load(_modules);
-}
-
-static void
-_mempool_shutdown(void)
-{
-   unsigned int i;
-   Eina_Array_Iterator it;
-   Eina_Module *module;
-   eina_module_list_free(_modules);
-   if (_modules)
-     {
-        EINA_ARRAY_ITER_NEXT(_modules, i, module, it)
-          free(module);
-        eina_array_free(_modules);
-     }
-   eina_shutdown();
-}
-
 static void
 _eina_mempool_test(Eina_Mempool *mp,
                    Eina_Bool with_realloc, Eina_Bool with_gc, Eina_Bool 
accurate_from)
@@ -102,12 +71,8 @@ EFL_START_TEST(eina_mempool_chained_mempool)
 {
    Eina_Mempool *mp;
 
-   _mempool_init();
-
    mp = eina_mempool_add("chained_mempool", "test", NULL, sizeof (int), 256);
    _eina_mempool_test(mp, EINA_FALSE, EINA_FALSE, EINA_TRUE);
-
-   _mempool_shutdown();
 }
 EFL_END_TEST
 #endif
@@ -117,12 +82,8 @@ EFL_START_TEST(eina_mempool_pass_through)
 {
    Eina_Mempool *mp;
 
-   _mempool_init();
-
    mp = eina_mempool_add("pass_through", "test", NULL, sizeof (int), 8, 0);
    _eina_mempool_test(mp, EINA_TRUE, EINA_FALSE, EINA_FALSE);
-
-   _mempool_shutdown();
 }
 EFL_END_TEST
 #endif

-- 


Reply via email to