summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-08 08:57:19 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-08 09:01:56 -0500
commit7edd248491d1174ad6d1e1e383b15ba05e8acc61 (patch)
tree407dea12e73bef0f5a87be61b9aac9be47db006d
parent60063359fcf15ecf6046009fff17232f2844f05e (diff)
tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suite
Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8252
-rw-r--r--src/Makefile_Elementary.am1
-rw-r--r--src/tests/elementary/efl_ui_build.c7
-rw-r--r--src/tests/elementary/meson.build1
3 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index e29471912b..eda75c9079 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -1915,6 +1915,7 @@ tests_elementary_efl_ui_suite_SOURCES = \
1915 tests/elementary/suite_helpers.c \ 1915 tests/elementary/suite_helpers.c \
1916 tests/elementary/suite_helpers.h \ 1916 tests/elementary/suite_helpers.h \
1917 tests/elementary/efl_ui_suite.c \ 1917 tests/elementary/efl_ui_suite.c \
1918 tests/elementary/efl_ui_build.c \
1918 tests/elementary/elm_test_init.c \ 1919 tests/elementary/elm_test_init.c \
1919 tests/elementary/efl_ui_test_atspi.c \ 1920 tests/elementary/efl_ui_test_atspi.c \
1920 tests/elementary/efl_ui_test_focus_common.c \ 1921 tests/elementary/efl_ui_test_focus_common.c \
diff --git a/src/tests/elementary/efl_ui_build.c b/src/tests/elementary/efl_ui_build.c
new file mode 100644
index 0000000000..923310fc66
--- /dev/null
+++ b/src/tests/elementary/efl_ui_build.c
@@ -0,0 +1,7 @@
1#ifndef EFL_BETA_API_SUPPORT
2#define EFL_BETA_API_SUPPORT
3#endif
4#ifndef EFL_NOLEGACY_API_SUPPORT
5#define EFL_NOLEGACY_API_SUPPORT
6#endif
7#include <Efl_Ui.h>
diff --git a/src/tests/elementary/meson.build b/src/tests/elementary/meson.build
index 8ff6298917..9b5f0107b5 100644
--- a/src/tests/elementary/meson.build
+++ b/src/tests/elementary/meson.build
@@ -114,6 +114,7 @@ elementary_suite = executable('elementary_suite',
114 114
115efl_ui_suite_src = [ 115efl_ui_suite_src = [
116 'efl_ui_suite.c', 116 'efl_ui_suite.c',
117 'efl_ui_build.c',
117 'suite_helpers.c', 118 'suite_helpers.c',
118 'suite_helpers.h', 119 'suite_helpers.h',
119 'elm_test_init.c', 120 'elm_test_init.c',