diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-12-07 12:46:54 +0100 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2018-12-07 12:53:40 +0100 |
commit | ca54d6df84db3b22206625396004e1a098e43b28 (patch) | |
tree | 8bfd499eeea70336d112c88477660c872249d21a | |
parent | e9eba74137761025e75d31a45e9acc72f0fbeccb (diff) |
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
-rw-r--r-- | src/tests/ecore/meson.build | 25 |
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', | |||
50 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | 50 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] |
51 | ) | 51 | ) |
52 | 52 | ||
53 | efl_app_suite_src = [ | ||
54 | 'efl_app_suite.c', | ||
55 | 'efl_app_suite.h', | ||
56 | 'efl_app_test_loop.c', | ||
57 | 'efl_app_test_loop_fd.c', | ||
58 | 'efl_app_test_loop_timer.c', | ||
59 | 'efl_app_test_promise.c' | ||
60 | ] | ||
61 | |||
62 | efl_app_suite_deps = [m] | ||
63 | efl_app_suite_deps += ecore | ||
64 | |||
65 | efl_app_suite = executable('efl_app_suite', | ||
66 | efl_app_suite_src, | ||
67 | dependencies: [efl_app_suite_deps, check], | ||
68 | c_args : [ | ||
69 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
70 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
71 | ) | ||
72 | |||
53 | test('ecore-suite', ecore_suite, | 73 | test('ecore-suite', ecore_suite, |
54 | timeout : 10*60, | 74 | timeout : 10*60, |
55 | env : test_env | 75 | env : test_env |
56 | ) | 76 | ) |
77 | |||
78 | test('efl-app', efl_app_suite, | ||
79 | timeout : 10*60, | ||
80 | env : test_env | ||
81 | ) | ||