mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Make css parser tests run
We need to set G_TEST_SRCDIR and friends for this to do anything. Setting it reveals that a bunch of the tests are broken.
This commit is contained in:
parent
9ea8235cc7
commit
37f1d180c3
@ -1,10 +1,16 @@
|
||||
test_env = environment()
|
||||
test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
||||
test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
||||
test_env.set('GSETTINGS_BACKEND', 'memory')
|
||||
test_env.set('G_ENABLE_DIAGNOSTIC', '0')
|
||||
|
||||
testexecdir = join_paths(installed_test_bindir, 'css', 'parser')
|
||||
|
||||
test_parser = executable('test-css-parser', 'test-css-parser.c',
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
install: get_option('install-tests'),
|
||||
install_dir: testexecdir,
|
||||
dependencies: libgtk_dep)
|
||||
test('css-parser', test_parser, suite: 'css')
|
||||
test('css-parser', test_parser, suite: 'css', env: test_env)
|
||||
|
||||
test_data = [
|
||||
'animation-crash-3.12.css',
|
||||
|
Loading…
Reference in New Issue
Block a user