Move transform tests to the gsk suite

That is where they belong.
This commit is contained in:
Matthias Clasen 2019-06-03 16:10:09 +00:00
parent 88344ccf4e
commit 0ab4a232b7
3 changed files with 33 additions and 1 deletions

View File

@ -165,3 +165,36 @@ foreach test : node_parser_tests
suite: 'gsk') suite: 'gsk')
endif endif
endforeach endforeach
tests = [
['transform'],
]
test_cargs = []
foreach t : tests
test_name = t.get(0)
test_srcs = ['@0@.c'.format(test_name)] + t.get(1, [])
test_extra_cargs = t.get(2, [])
test_extra_ldflags = t.get(3, [])
test_exe = executable(test_name, test_srcs,
c_args : test_cargs + test_extra_cargs,
link_args : test_extra_ldflags,
dependencies : libgtk_dep,
install: get_option('install-tests'),
install_dir: testexecdir)
test(test_name, test_exe,
args: [ '--tap', '-k' ],
env: [ 'GIO_USE_VOLUME_MONITOR=unix',
'GSETTINGS_BACKEND=memory',
'GTK_CSD=1',
'G_ENABLE_DIAGNOSTIC=0',
'GSK_RENDERER=cairo',
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir),
],
suite: 'gsk')
endforeach

View File

@ -54,7 +54,6 @@ tests = [
['textbuffer'], ['textbuffer'],
['textiter'], ['textiter'],
['theme-validate'], ['theme-validate'],
['transform'],
['treelistmodel'], ['treelistmodel'],
['treemodel', ['treemodel.c', 'liststore.c', 'treestore.c', 'filtermodel.c', ['treemodel', ['treemodel.c', 'liststore.c', 'treestore.c', 'filtermodel.c',
'modelrefcount.c', 'sortmodel.c', 'gtktreemodelrefcount.c']], 'modelrefcount.c', 'sortmodel.c', 'gtktreemodelrefcount.c']],