cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=24386fcd9c514c5a5ce276c333844ce6d94d908d

commit 24386fcd9c514c5a5ce276c333844ce6d94d908d
Author: michelle legrand <[email protected]>
Date:   Fri Jan 30 10:49:50 2015 +0100

    autotools: fix make check build error on Windows
    
    Windows does not use ECORE_X.
    
    @fix
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 src/Makefile_Ecore.am         | 5 ++++-
 src/tests/ecore/ecore_suite.c | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index 94d472c..10e6a27 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -171,7 +171,6 @@ tests/ecore/ecore_suite.c \
 tests/ecore/ecore_test_ecore.c \
 tests/ecore/ecore_test_ecore_con.c \
 tests/ecore/ecore_test_ecore_con_url.c \
-tests/ecore/ecore_test_ecore_x.c \
 tests/ecore/ecore_test_ecore_imf.c \
 tests/ecore/ecore_test_timer.c \
 tests/ecore/ecore_test_ecore_evas.c \
@@ -181,6 +180,10 @@ tests/ecore/ecore_test_ecore_input.c \
 tests/ecore/ecore_test_ecore_file.c \
 tests/ecore/ecore_suite.h
 
+if HAVE_ECORE_X
+tests_ecore_ecore_suite_SOURCES += tests/ecore/ecore_test_ecore_x.c
+endif
+
 tests_ecore_ecore_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
 -DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore\" \
 -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore\" \
diff --git a/src/tests/ecore/ecore_suite.c b/src/tests/ecore/ecore_suite.c
index 8fbc4b7..e3804a5 100644
--- a/src/tests/ecore/ecore_suite.c
+++ b/src/tests/ecore/ecore_suite.c
@@ -21,7 +21,9 @@ static const Ecore_Test_Case etc[] = {
   { "Ecore", ecore_test_ecore },
   { "Ecore_Con", ecore_test_ecore_con },
   { "Ecore_Con_Url", ecore_test_ecore_con_url },
+#if HAVE_ECORE_X
   { "Ecore_X", ecore_test_ecore_x },
+#endif
   { "Ecore_Imf", ecore_test_ecore_imf },
 #if HAVE_ECORE_AUDIO
   { "Ecore Audio", ecore_test_ecore_audio},

-- 


Reply via email to