devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3a3fcfb423d7d059faef0031811c557b529351d9

commit 3a3fcfb423d7d059faef0031811c557b529351d9
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jun 27 06:18:00 2018 -0400

    tests: ignore ibus module in ecore-imf tests when DISPLAY is not set
    
    Summary:
    ibus module will refuse to load if DISPLAY is not set, so avoid failing
    for no reason in this case
    Depends on D6433
    
    Reviewers: ManMower, bu5hm4n, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6434
---
 src/tests/ecore/ecore_test_ecore_imf.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tests/ecore/ecore_test_ecore_imf.c 
b/src/tests/ecore/ecore_test_ecore_imf.c
index e4671597f5..9851c77fa1 100644
--- a/src/tests/ecore/ecore_test_ecore_imf.c
+++ b/src/tests/ecore/ecore_test_ecore_imf.c
@@ -35,7 +35,8 @@ _find_list(const Eina_List *lst, const char *item)
    const Eina_List *n;
    const char *s;
 
-   if (eina_streq(item, "xim"))
+   /* these modules (currently) require x11 to run */
+   if (eina_streq(item, "xim") || eina_streq(item, "ibus"))
      {
         if (!getenv("DISPLAY")) return EINA_TRUE;
      }
@@ -81,7 +82,8 @@ EFL_START_TEST(ecore_test_ecore_imf_modules_load)
      {
         Ecore_IMF_Context *ctx;
 
-        if (eina_streq(*itr, "xim"))
+        /* these modules (currently) require x11 to run */
+        if (eina_streq(*itr, "xim") || eina_streq(*itr, "ibus"))
           {
              if (!getenv("DISPLAY")) continue;
           }

-- 


Reply via email to