tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suite
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 8 Mar 2019 13:57:19 +0000 (08:57 -0500)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 14 Mar 2019 05:46:29 +0000 (14:46 +0900)
Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl_tests

Differential Revision: https://phab.enlightenment.org/D8252

src/Makefile_Elementary.am
src/tests/elementary/efl_ui_build.c [new file with mode: 0644]
src/tests/elementary/meson.build

index 19c4f96..1dbf02c 100644 (file)
@@ -1977,6 +1977,7 @@ tests_elementary_efl_ui_suite_SOURCES = \
        tests/elementary/suite_helpers.c \
        tests/elementary/suite_helpers.h \
        tests/elementary/efl_ui_suite.c \
+       tests/elementary/efl_ui_build.c \
        tests/elementary/elm_test_init.c \
        tests/elementary/efl_ui_test_atspi.c \
        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 (file)
index 0000000..923310f
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef EFL_BETA_API_SUPPORT
+#define EFL_BETA_API_SUPPORT
+#endif
+#ifndef EFL_NOLEGACY_API_SUPPORT
+#define EFL_NOLEGACY_API_SUPPORT
+#endif
+#include <Efl_Ui.h>
index 8ff6298..9b5f010 100644 (file)
@@ -114,6 +114,7 @@ elementary_suite = executable('elementary_suite',
 
 efl_ui_suite_src = [
   'efl_ui_suite.c',
+  'efl_ui_build.c',
   'suite_helpers.c',
   'suite_helpers.h',
   'elm_test_init.c',