aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-12-07 12:46:54 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-07 12:53:40 +0100
commitca54d6df84db3b22206625396004e1a098e43b28 (patch)
tree8bfd499eeea70336d112c88477660c872249d21a
parentecore: efl_app_suite doesn't need to depends on Efl_Net. (diff)
downloadefl-ca54d6df84db3b22206625396004e1a098e43b28.tar.gz
ecore: add efl_app_test to the meson build and run the test.
Summary: Depends on https://phab.enlightenment.org/D7390 Reviewers: bu5hm4n, segfaultxavi Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7472 Differential Revision: https://phab.enlightenment.org/D7391
-rw-r--r--src/tests/ecore/meson.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/tests/ecore/meson.build b/src/tests/ecore/meson.build
index 4c8351a8bc..98104146be 100644
--- a/src/tests/ecore/meson.build
+++ b/src/tests/ecore/meson.build
@@ -50,7 +50,32 @@ ecore_suite = executable('ecore_suite',
'-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
)
+efl_app_suite_src = [
+ 'efl_app_suite.c',
+ 'efl_app_suite.h',
+ 'efl_app_test_loop.c',
+ 'efl_app_test_loop_fd.c',
+ 'efl_app_test_loop_timer.c',
+ 'efl_app_test_promise.c'
+]
+
+efl_app_suite_deps = [m]
+efl_app_suite_deps += ecore
+
+efl_app_suite = executable('efl_app_suite',
+ efl_app_suite_src,
+ dependencies: [efl_app_suite_deps, check],
+ c_args : [
+ '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
+ '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
+)
+
test('ecore-suite', ecore_suite,
timeout : 10*60,
env : test_env
)
+
+test('efl-app', efl_app_suite,
+ timeout : 10*60,
+ env : test_env
+)