mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 20:30:11 +00:00
testsuite: Add NGL and Vulkan renderer to compare tests
Add a testsuite called gsk-compare-vulkan to run the gsk renderer tests with the Vulkan renderer and gsk-compare-ngl to run them with the NGL renderer. To run the tests locally, you can do: meson test -C_build --suite gsk-compare-vulkan
This commit is contained in:
parent
03cd652063
commit
c8ae2d9002
@ -155,6 +155,8 @@ renderers = [
|
||||
{ 'name': 'gl' },
|
||||
{ 'name': 'broadway' },
|
||||
{ 'name': 'cairo' },
|
||||
{ 'name': 'ngl' },
|
||||
{ 'name': 'vulkan' },
|
||||
]
|
||||
|
||||
compare_xfails = [
|
||||
@ -184,10 +186,6 @@ foreach renderer : renderers
|
||||
'gsk-compare-' + renderer_name,
|
||||
]
|
||||
|
||||
if compare_xfails.contains(testname)
|
||||
suites += 'failing'
|
||||
endif
|
||||
|
||||
if compare_xfails_small_texture.contains(testname)
|
||||
suites += 'wayland_gles2_failing'
|
||||
endif
|
||||
@ -200,7 +198,8 @@ foreach renderer : renderers
|
||||
]
|
||||
|
||||
if ((not testname.contains(exclude_term)) and
|
||||
(renderer_name != 'broadway' or broadway_enabled))
|
||||
(renderer_name != 'broadway' or broadway_enabled) and
|
||||
(renderer_name != 'vulkan' or have_vulkan))
|
||||
test(renderer_name + ' ' + testname, compare_render,
|
||||
args: [
|
||||
'--output', join_paths(meson.current_build_dir(), 'compare', renderer_name),
|
||||
|
Loading…
Reference in New Issue
Block a user