| 1 |
testexecdir = join_paths(installed_test_bindir, 'css', 'nodes') |
| 2 |
testdatadir = join_paths(installed_test_datadir, 'css', 'nodes') |
| 3 |
|
| 4 |
test_nodes = executable('test-css-nodes', 'test-css-nodes.c', |
| 5 |
install: get_option('installed_tests'), |
| 6 |
install_dir: testexecdir, |
| 7 |
dependencies: libgtk_dep) |
| 8 |
test('css/nodes/test-nodes', test_nodes) |
| 9 |
|
| 10 |
test_data = [ |
| 11 |
'box.ltr.nodes', |
| 12 |
'box.ltr.ui', |
| 13 |
'box.rtl.nodes', |
| 14 |
'box.rtl.ui', |
| 15 |
'box-packing.ltr.nodes', |
| 16 |
'box-packing.ltr.ui', |
| 17 |
'box-packing.rtl.nodes', |
| 18 |
'box-packing.rtl.ui', |
| 19 |
'buttons.nodes', |
| 20 |
'buttons.ui', |
| 21 |
'checkbutton.ltr.nodes', |
| 22 |
'checkbutton.ltr.ui', |
| 23 |
'checkbutton.rtl.nodes', |
| 24 |
'checkbutton.rtl.ui', |
| 25 |
'combobox.nodes', |
| 26 |
'combobox.ui', |
| 27 |
'entries.nodes', |
| 28 |
'entries.ui', |
| 29 |
'expander.ltr.nodes', |
| 30 |
'expander.ltr.ui', |
| 31 |
'expander.rtl.nodes', |
| 32 |
'expander.rtl.ui', |
| 33 |
'levelbar.ltr.nodes', |
| 34 |
'levelbar.ltr.ui', |
| 35 |
'levelbar.rtl.nodes', |
| 36 |
'levelbar.rtl.ui', |
| 37 |
'notebook-arrows2.nodes', |
| 38 |
'notebook-arrows2.ui', |
| 39 |
'notebook-arrows.nodes', |
| 40 |
'notebook-arrows.ui', |
| 41 |
'notebook.bottom.ltr.nodes', |
| 42 |
'notebook.bottom.ltr.ui', |
| 43 |
'notebook.bottom.rtl.nodes', |
| 44 |
'notebook.bottom.rtl.ui', |
| 45 |
'notebook.left.ltr.nodes', |
| 46 |
'notebook.left.ltr.ui', |
| 47 |
'notebook.left.rtl.nodes', |
| 48 |
'notebook.left.rtl.ui', |
| 49 |
'notebook.right.ltr.nodes', |
| 50 |
'notebook.right.ltr.ui', |
| 51 |
'notebook.right.rtl.nodes', |
| 52 |
'notebook.right.rtl.ui', |
| 53 |
'notebook.top.ltr.nodes', |
| 54 |
'notebook.top.ltr.ui', |
| 55 |
'notebook.top.rtl.nodes', |
| 56 |
'notebook.top.rtl.ui', |
| 57 |
'paned.ltr.nodes', |
| 58 |
'paned.ltr.ui', |
| 59 |
'paned.rtl.nodes', |
| 60 |
'paned.rtl.ui', |
| 61 |
'progressbar.nodes', |
| 62 |
'progressbar.ui', |
| 63 |
'scale.nodes', |
| 64 |
'scale.ui', |
| 65 |
] |
| 66 |
|
| 67 |
if get_option('installed_tests') |
| 68 |
conf = configuration_data() |
| 69 |
conf.set('libexecdir', gtk_libexecdir) |
| 70 |
configure_file(input: 'test-css-nodes.test.in', |
| 71 |
output: 'test-css-nodes.test', |
| 72 |
configuration: conf, |
| 73 |
install_dir: testdatadir) |
| 74 |
|
| 75 |
install_data(test_data, install_dir: testexecdir) |
| 76 |
endif |