summaryrefslogtreecommitdiff
path: root/src/tests/ecore/ecore_test_ecore_imf.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 13:40:30 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-05 13:42:11 +0900
commit013c0702f410796667020b0cd0c473f077887cf3 (patch)
tree5c7404d2d89e73bc6646be438307d0c48fdeda27 /src/tests/ecore/ecore_test_ecore_imf.c
parent32df056a32b8376f615338da1b59d299f40b87af (diff)
ecore_imf - fix make check to doa "load all" check after de-sillifying it
this should make ecore_imf testable with empty env vars also meaning no env var and the make check test will now ensuree this is set to exactly test this.
Diffstat (limited to 'src/tests/ecore/ecore_test_ecore_imf.c')
-rw-r--r--src/tests/ecore/ecore_test_ecore_imf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_ecore_imf.c b/src/tests/ecore/ecore_test_ecore_imf.c
index 486aa46..95c3b65 100644
--- a/src/tests/ecore/ecore_test_ecore_imf.c
+++ b/src/tests/ecore/ecore_test_ecore_imf.c
@@ -47,6 +47,7 @@ START_TEST(ecore_test_ecore_imf_modules)
47 Eina_List *modules; 47 Eina_List *modules;
48 const char **itr; 48 const char **itr;
49 49
50 putenv("ECORE_IMF_MODULE=");
50 ecore_imf_init(); 51 ecore_imf_init();
51 modules = ecore_imf_context_available_ids_get(); 52 modules = ecore_imf_context_available_ids_get();
52 53
@@ -64,10 +65,10 @@ END_TEST
64 65
65START_TEST(ecore_test_ecore_imf_modules_load) 66START_TEST(ecore_test_ecore_imf_modules_load)
66{ 67{
67 const char **itr; 68 const char **itr, *env;
68 69
70 putenv("ECORE_IMF_MODULE=");
69 ecore_imf_init(); 71 ecore_imf_init();
70
71 for (itr = built_modules; *itr != NULL; itr++) 72 for (itr = built_modules; *itr != NULL; itr++)
72 { 73 {
73 Ecore_IMF_Context *ctx = ecore_imf_context_add(*itr); 74 Ecore_IMF_Context *ctx = ecore_imf_context_add(*itr);