2020-10-31 00:14:17 +00:00
|
|
|
nodetest_env = environment()
|
2020-11-07 12:50:11 +00:00
|
|
|
nodetest_env.set('GTK_A11Y', 'test')
|
2020-10-31 00:14:17 +00:00
|
|
|
nodetest_env.set('GSK_RENDERER', 'cairo')
|
|
|
|
nodetest_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
|
|
|
nodetest_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
|
|
|
nodetest_env.set('GIO_USE_VFS', 'local')
|
|
|
|
nodetest_env.set('GSETTINGS_BACKEND', 'memory')
|
|
|
|
nodetest_env.set('G_ENABLE_DIAGNOSTIC', '0')
|
|
|
|
|
2022-12-20 04:11:20 +00:00
|
|
|
test_nodes = executable('test-css-nodes',
|
|
|
|
sources: ['test-css-nodes.c', '../../testutils.c'],
|
|
|
|
c_args: common_cflags,
|
|
|
|
dependencies: libgtk_dep,
|
|
|
|
)
|
2017-10-12 08:05:32 +00:00
|
|
|
|
2017-10-18 00:48:16 +00:00
|
|
|
test('nodes', test_nodes,
|
2020-10-09 17:17:04 +00:00
|
|
|
args: [ '--tap', '-k' ],
|
|
|
|
protocol: 'tap',
|
2020-10-31 00:14:17 +00:00
|
|
|
env: nodetest_env,
|
2020-10-09 17:17:04 +00:00
|
|
|
suite: 'css',
|
|
|
|
)
|