summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-08 08:57:46 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-08 09:02:00 -0500
commit1e750ddfde87e421a98c0df69071ce4eca8c9df9 (patch)
tree9c13c99cdf4d74412383c482992fc2b9a7942304
parent7edd248491d1174ad6d1e1e383b15ba05e8acc61 (diff)
tests: add test for legacy-only build in elm_suite
Reviewers: q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8254
-rw-r--r--src/Makefile_Elementary.am1
-rw-r--r--src/tests/elementary/elm_suite_build.c3
-rw-r--r--src/tests/elementary/meson.build1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index eda75c9079..05a2c60a32 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -1815,6 +1815,7 @@ TESTS += tests/elementary/elm_suite tests/elementary/efl_ui_suite
1815tests_elementary_elm_suite_SOURCES = \ 1815tests_elementary_elm_suite_SOURCES = \
1816 tests/elementary/suite_helpers.c \ 1816 tests/elementary/suite_helpers.c \
1817 tests/elementary/elm_suite.c \ 1817 tests/elementary/elm_suite.c \
1818 tests/elementary/elm_suite_build.c \
1818 tests/elementary/elm_test_atspi.c \ 1819 tests/elementary/elm_test_atspi.c \
1819 tests/elementary/elm_test_check.c \ 1820 tests/elementary/elm_test_check.c \
1820 tests/elementary/elm_test_colorselector.c \ 1821 tests/elementary/elm_test_colorselector.c \
diff --git a/src/tests/elementary/elm_suite_build.c b/src/tests/elementary/elm_suite_build.c
new file mode 100644
index 0000000000..614f7816da
--- /dev/null
+++ b/src/tests/elementary/elm_suite_build.c
@@ -0,0 +1,3 @@
1#undef EFL_BETA_API_SUPPORT
2#undef EFL_EO_API_SUPPORT
3#include <Elementary.h>
diff --git a/src/tests/elementary/meson.build b/src/tests/elementary/meson.build
index 9b5f0107b5..e9be0b2a41 100644
--- a/src/tests/elementary/meson.build
+++ b/src/tests/elementary/meson.build
@@ -19,6 +19,7 @@ endforeach
19 19
20elementary_suite_src = [ 20elementary_suite_src = [
21 'elm_suite.c', 21 'elm_suite.c',
22 'elm_suite_build.c',
22 'suite_helpers.c', 23 'suite_helpers.c',
23 'elm_test_atspi.c', 24 'elm_test_atspi.c',
24 'elm_test_check.c', 25 'elm_test_check.c',