summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-12 15:26:29 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-02 17:22:50 +0200
commit46d464e5bfc10398461a33a2256c1c58d509dd1a (patch)
tree8c1a9272c05f14033a4430bc122632461bd73608 /src/tests/ecore
parent70ecf1056bb4be5a68b63044f938ccc2fe0a58c0 (diff)
here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
Diffstat (limited to 'src/tests/ecore')
-rw-r--r--src/tests/ecore/meson.build56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/tests/ecore/meson.build b/src/tests/ecore/meson.build
new file mode 100644
index 0000000000..4c8351a8bc
--- /dev/null
+++ b/src/tests/ecore/meson.build
@@ -0,0 +1,56 @@
1
2ecore_suite_src = [
3 'ecore_suite.c',
4 'ecore_test_ecore.c',
5 'ecore_test_ecore_imf.c',
6 'ecore_test_idle.c',
7 'ecore_test_timer.c',
8 'ecore_test_ecore_evas.c',
9 'ecore_test_animator.c',
10 'ecore_test_ecore_thread_eina_thread_queue.c',
11 'ecore_test_ecore_input.c',
12 'ecore_test_ecore_file.c',
13 'ecore_test_job.c',
14 'ecore_test_args.c',
15 'ecore_test_pipe.c',
16 'ecore_suite.h'
17]
18
19ecore_suite_deps = [m]
20ecore_suite_deps += ecore
21ecore_suite_deps += ecore_file
22ecore_suite_deps += ecore_evas
23ecore_suite_deps += ecore_input
24ecore_suite_deps += ecore_imf
25
26if get_option('audio')
27 ecore_suite_deps += ecore_audio
28 ecore_suite_src += 'ecore_test_ecore_audio.c'
29endif
30
31if get_option('fb')
32 ecore_suite_deps += ecore_fb
33 ecore_suite_src += 'ecore_test_ecore_fb.c'
34endif
35
36if get_option('drm')
37 ecore_suite_deps += ecore_drm2
38endif
39
40if get_option('x11')
41 ecore_suite_src += 'ecore_test_ecore_x.c'
42 ecore_suite_deps += ecore_x
43endif
44
45ecore_suite = executable('ecore_suite',
46 ecore_suite_src,
47 dependencies: [ecore_suite_deps, check],
48 c_args : [
49 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
50 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
51)
52
53test('ecore-suite', ecore_suite,
54 timeout : 10*60,
55 env : test_env
56)