From 6c133f0894aac23e6810de27e2076aa82dc2f277 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 8 Mar 2019 08:57:19 -0500 Subject: [PATCH] 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 --- src/Makefile_Elementary.am | 1 + src/tests/elementary/efl_ui_build.c | 7 +++++++ src/tests/elementary/meson.build | 1 + 3 files changed, 9 insertions(+) create mode 100644 src/tests/elementary/efl_ui_build.c diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am index 19c4f96..1dbf02c 100644 --- a/src/Makefile_Elementary.am +++ b/src/Makefile_Elementary.am @@ -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 index 0000000..923310f --- /dev/null +++ b/src/tests/elementary/efl_ui_build.c @@ -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 diff --git a/src/tests/elementary/meson.build b/src/tests/elementary/meson.build index 8ff6298..9b5f010 100644 --- a/src/tests/elementary/meson.build +++ b/src/tests/elementary/meson.build @@ -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', -- 2.7.4