summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-24 11:56:15 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-24 11:56:15 +0900
commitabc2f9b906909be737db82417b233a6ff8063caa (patch)
tree9c7fe02770154287d7e26c4820c30983bffceb40
parenta6dc7da029c488f4d6e02ad5dbb902d9bfb2f564 (diff)
downloadefl-abc2f9b906909be737db82417b233a6ff8063caa.tar.gz
tests: Fix make check with build dir
This changes how the eo files are compiled for the focus test case, and adds the include folder with -I.
-rw-r--r--src/Makefile_Elementary.am9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index a3ef0b3d3a..d62045b18d 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -112,7 +112,7 @@ elm_public_eolian_files = \
lib/elementary/elm_popup_internal_part.eo \
lib/elementary/elm_scroller_internal_part.eo \
lib/elementary/elm_code_widget.eo \
- lib/elementary/efl_ui_text_interactive.eo \
+ lib/elementary/efl_ui_text_interactive.eo \
lib/elementary/efl_ui_text.eo \
lib/elementary/efl_ui_text_editable.eo \
lib/elementary/efl_config_global.eo \
@@ -128,6 +128,8 @@ elm_public_eolian_files = \
elm_private_eolian_files = \
lib/elementary/efl_ui_internal_text_interactive.eo \
lib/elementary/efl_ui_win_internal_part.eo \
+ tests/elementary/focus_test.eo \
+ tests/elementary/focus_test_sub_main.eo \
$(NULL)
# Legacy classes - not part of public EO API
@@ -1344,10 +1346,6 @@ tests_elementary_elm_suite_SOURCES = \
tests/elementary/elm_test_focus.c \
tests/elementary/elm_test_focus_sub.c
-tests/elementary/tests_elementary_elm_suite-elm_test_focus_common.$(OBJEXT): tests/elementary/focus_test.eo.c tests/elementary/focus_test.eo.h
-
-tests/elementary/tests_elementary_elm_suite-elm_test_focus_sub.$(OBJEXT): tests/elementary/focus_test_sub_main.eo.c tests/elementary/focus_test_sub_main.eo.h
-
tests_elementary_elm_suite_CPPFLAGS = \
-DTESTS_BUILD_DIR=\"${top_builddir}/src/tests/elementary\" \
-DTESTS_SRC_DIR=\"${top_srcdir}/src/tests/elementary\" \
@@ -1356,6 +1354,7 @@ tests_elementary_elm_suite_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\"${abs_top_builddir}/data/elementary\" \
-I$(top_srcdir)/src/lib/elementary \
-I$(top_builddir)/src/lib/elementary \
+ -I$(top_builddir)/src/tests/elementary \
@CHECK_CFLAGS@ \
@ELEMENTARY_CFLAGS@