summaryrefslogtreecommitdiff
path: root/src/tests/edje
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/edje')
-rw-r--r--src/tests/edje/data/meson.build37
-rw-r--r--src/tests/edje/meson.build26
-rw-r--r--src/tests/edje/tests/meson.build19
3 files changed, 82 insertions, 0 deletions
diff --git a/src/tests/edje/data/meson.build b/src/tests/edje/data/meson.build
new file mode 100644
index 0000000000..f9494ca1e7
--- /dev/null
+++ b/src/tests/edje/data/meson.build
@@ -0,0 +1,37 @@
1edc_files = [
2 'complex_layout.edc',
3 'test_box.edc',
4 'test_color_class.edc',
5 'test_combine_keywords.edc',
6 'test_filters.edc',
7 'test_layout.edc',
8 'test_masking.edc',
9 'test_messages.edc',
10 'test_parens.edc',
11 'test_signal_callback_del_full.edc',
12 'test_signals.edc',
13 'test_size_class.edc',
14 'test_snapshot.edc',
15 'test_swallows.edc',
16 'test_table.edc',
17 'test_text_cursor.edc',
18 'test_textblock.edc',
19]
20
21themes = []
22
23foreach edc_file : edc_files
24 themes += custom_target('edje_cc_' + edc_file,
25 input : edc_file,
26 output : '@BASENAME@.edj',
27 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
28 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'),
29 '-fd', meson.current_source_dir(),
30 '-sd', meson.current_source_dir(),
31 '-vd', meson.current_source_dir(),
32 '-dd', meson.current_source_dir(),
33 '-md', meson.current_source_dir(),
34 '-td', meson.current_source_dir(),
35 '@INPUT@', '@OUTPUT@'],
36 depends : edje_cc)
37endforeach
diff --git a/src/tests/edje/meson.build b/src/tests/edje/meson.build
new file mode 100644
index 0000000000..54aee4f873
--- /dev/null
+++ b/src/tests/edje/meson.build
@@ -0,0 +1,26 @@
1subdir('data')
2subdir('tests')
3
4edje_suite_src = [
5 'edje_suite.c',
6 'edje_suite.h',
7 'edje_test_container.c',
8 'edje_test_edje.c',
9 'edje_test_features.c',
10 'edje_test_signal.c',
11 'edje_test_swallow.c',
12 'edje_test_text.c',
13]
14
15edje_suite = executable('edje_suite',
16 edje_suite_src, themes,
17 dependencies: [check, eina, ecore_evas, edje],
18 include_directories : config_dir,
19 c_args : [
20 '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"',
21 '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"']
22)
23
24test('edje-suite', edje_suite,
25 env : test_env
26)
diff --git a/src/tests/edje/tests/meson.build b/src/tests/edje/tests/meson.build
new file mode 100644
index 0000000000..4780bcaeba
--- /dev/null
+++ b/src/tests/edje/tests/meson.build
@@ -0,0 +1,19 @@
1edc_files = [
2 'edje_inherit_nearest.edc',
3]
4
5foreach edc_file : edc_files
6 themes += custom_target('edje_cc_' + edc_file,
7 input : edc_file,
8 output : '@BASENAME@.edj',
9 command : ['/usr/bin/env', 'EFL_RUN_IN_TREE=1', edje_cc.full_path(), '-beta',
10 '-id', join_paths(meson.source_root(), 'src', 'tests', 'emotion', 'data'),
11 '-fd', meson.current_source_dir(),
12 '-sd', meson.current_source_dir(),
13 '-vd', meson.current_source_dir(),
14 '-dd', meson.current_source_dir(),
15 '-md', meson.current_source_dir(),
16 '-td', meson.current_source_dir(),
17 '@INPUT@', '@OUTPUT@'],
18 depends : edje_cc)
19endforeach \ No newline at end of file