summaryrefslogtreecommitdiff
path: root/testsuite/css/nodes/meson.build
blob: 11ed48b9e5d4ae98b00834f4bff564c1b7ae0aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
testexecdir = join_paths(installed_test_bindir, 'css', 'nodes')
testdatadir = join_paths(installed_test_datadir, 'css')

test_nodes = executable('test-css-nodes', 'test-css-nodes.c',
                        c_args: common_cflags,
                        install: get_option('install-tests'),
                        install_dir: testexecdir,
                        dependencies: libgtk_dep)
test('nodes', test_nodes,
  args: [ '--tap', '-k' ],
  protocol: 'tap',
  env: csstest_env,
  suite: 'css',
)

test_data = [
  'box.ltr.nodes',
  'box.ltr.ui',
  'box.rtl.nodes',
  'box.rtl.ui',
  'buttons.nodes',
  'buttons.ui',
  'checkbutton.ltr.nodes',
  'checkbutton.ltr.ui',
  'checkbutton.rtl.nodes',
  'checkbutton.rtl.ui',
  'combobox.nodes',
  'combobox.ui',
  'entries.nodes',
  'entries.ui',
  'expander.ltr.nodes',
  'expander.ltr.ui',
  'expander.rtl.nodes',
  'expander.rtl.ui',
  'levelbar.ltr.nodes',
  'levelbar.ltr.ui',
  'levelbar.rtl.nodes',
  'levelbar.rtl.ui',
  'notebook-arrows2.nodes',
  'notebook-arrows2.ui',
  'notebook-arrows.nodes',
  'notebook-arrows.ui',
  'notebook.bottom.ltr.nodes',
  'notebook.bottom.ltr.ui',
  'notebook.bottom.rtl.nodes',
  'notebook.bottom.rtl.ui',
  'notebook.left.ltr.nodes',
  'notebook.left.ltr.ui',
  'notebook.left.rtl.nodes',
  'notebook.left.rtl.ui',
  'notebook.right.ltr.nodes',
  'notebook.right.ltr.ui',
  'notebook.right.rtl.nodes',
  'notebook.right.rtl.ui',
  'notebook.top.ltr.nodes',
  'notebook.top.ltr.ui',
  'notebook.top.rtl.nodes',
  'notebook.top.rtl.ui',
  'paned.ltr.nodes',
  'paned.ltr.ui',
  'paned.rtl.nodes',
  'paned.rtl.ui',
  'progressbar.nodes',
  'progressbar.ui',
  'scale.nodes',
  'scale.ui',
]

if get_option('install-tests')
  conf = configuration_data()
  conf.set('libexecdir', gtk_libexecdir)
  configure_file(input: 'nodes.test.in',
                 output: 'nodes.test',
                 configuration: conf,
                 install_dir: testdatadir)

  install_data(test_data, install_dir: testexecdir)
endif