aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-23 20:54:00 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-25 15:56:08 -0300
commit3a4a7799a9c71bb7b6c7fdc4cab22a98e8e2a8a6 (patch)
treec8fed01a1c51f79f6d0886059c6b337aa6adbae6
parenteolian_cxx: Fix "unused parameter" warnings (diff)
downloadefl-devs/lauromoura/csharp-win.tar.gz
elementary: Temporarily disable elm_code tests on Windowsdevs/lauromoura/csharp-win
They are failing due to some EAPI/dllimport issues. Maybe one of those cases of test code trying to access private code directly.
-rw-r--r--src/Makefile_Elementary.am16
-rw-r--r--src/tests/elementary/elm_suite.c2
2 files changed, 13 insertions, 5 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index f93805136d..0958aa8ad7 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -1462,6 +1462,15 @@ tests_elementary_elm_suite_SOURCES = \
tests/elementary/elm_test_spinner.c \
tests/elementary/elm_test_plug.c \
tests/elementary/elm_test_config.c \
+ tests/elementary/elm_test_focus_common.c \
+ tests/elementary/elm_test_focus_common.h \
+ tests/elementary/elm_test_focus.c \
+ tests/elementary/elm_test_focus_sub.c
+
+# elm_code test is currently having issues with dllimport/EAPI on Windows
+if !HAVE_WINDOWS
+
+tests_elementary_elm_suite_SOURCES += \
tests/elementary/elm_code_file_test_load.c \
tests/elementary/elm_code_file_test_memory.c \
tests/elementary/elm_code_test_basic.c \
@@ -1473,11 +1482,8 @@ tests_elementary_elm_suite_SOURCES = \
tests/elementary/elm_code_test_widget.c \
tests/elementary/elm_code_test_widget_text.c \
tests/elementary/elm_code_test_widget_selection.c \
- tests/elementary/elm_code_test_widget_undo.c \
- tests/elementary/elm_test_focus_common.c \
- tests/elementary/elm_test_focus_common.h \
- tests/elementary/elm_test_focus.c \
- tests/elementary/elm_test_focus_sub.c
+ tests/elementary/elm_code_test_widget_undo.c
+endif
tests_elementary_elm_suite_CPPFLAGS = \
-DTESTS_BUILD_DIR=\"${top_builddir}/src/tests/elementary\" \
diff --git a/src/tests/elementary/elm_suite.c b/src/tests/elementary/elm_suite.c
index 197a9d08db..376b024f93 100644
--- a/src/tests/elementary/elm_suite.c
+++ b/src/tests/elementary/elm_suite.c
@@ -72,6 +72,7 @@ static const Efl_Test_Case etc[] = {
{ "elm_slideshow", elm_test_slideshow},
{ "elm_spinner", elm_test_spinner},
{ "elm_plug", elm_test_plug},
+#ifndef ELM_WIN32 // dllimport/EAPI issues
{ "elm_code_file_load", elm_code_file_test_load },
{ "elm_code_file_memory", elm_code_file_test_memory },
{ "elm_code_parse", elm_code_test_parse },
@@ -83,6 +84,7 @@ static const Efl_Test_Case etc[] = {
{ "elm_code_widget_text", elm_code_test_widget_text },
{ "elm_code_widget_selection", elm_code_test_widget_selection },
{ "elm_code_widget_undo", elm_code_test_widget_undo },
+#endif
{ "elm_focus", elm_test_focus},
{ "elm_focus_sub", elm_test_focus_sub},
{ NULL, NULL }