eina: this should only load modules from the eina subdir
authorMarcel Hollerbach <marcel@osg.samsung.com>
Tue, 20 Mar 2018 20:05:15 +0000 (20:05 +0000)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:22:04 +0000 (20:22 +0900)
otherwise we are loading ecore modules etc. which are pulling in ecore
et. into the eina testsuite, nothing that should happen.

src/tests/eina/eina_suite.c
src/tests/eina/eina_test_mempool.c

index bd3bf42..207f349 100644 (file)
@@ -100,7 +100,7 @@ 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",
+                                   PACKAGE_BUILD_DIR "/src/modules/eina",
                                    EINA_TRUE,
                                    NULL,
                                    NULL);
index 4b1d936..138c493 100644 (file)
@@ -32,7 +32,7 @@ _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",
+                                   PACKAGE_BUILD_DIR "/src/modules/eina",
                                    EINA_TRUE,
                                    NULL,
                                    NULL);