Discussion:
[EGIT] [core/efl] master 01/01: ecore: add efl_app_test to the meson build and run the test.
Cedric BAIL
2018-12-07 11:53:41 UTC
Permalink
xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ca54d6df84db3b22206625396004e1a098e43b28

commit ca54d6df84db3b22206625396004e1a098e43b28
Author: Cedric BAIL <***@osg.samsung.com>
Date: Fri Dec 7 12:46:54 2018 +0100

ecore: add efl_app_test to the meson build and run the test.

Summary: Depends on D7390

Reviewers: bu5hm4n, segfaultxavi

Reviewed By: bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7472

Differential Revision: https://phab.enlightenment.org/D7391
---
src/tests/ecore/meson.build | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

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
+)

--

Loading...