mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
test: make rendercheck triangles optional
The triangles test of rendercheck is known to be (partially broken on Xephyr, since it doesn't fully support transparency (eg. a8 surfaces). Therefore make it optional, so we're not spammed too much by false alarms Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -147,3 +147,7 @@ option('devel-docs', type: 'combo', choices: ['true', 'false', 'auto'], value: '
|
||||
description: 'Build development documentation')
|
||||
option('docs-pdf', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
|
||||
description: 'Whether to build PDF version of documentation. Setting is ignored if documentation is not built.')
|
||||
|
||||
# testsuite fine tuning - some things might not run everywhere
|
||||
option('test_rendercheck_triangles', type: 'boolean', value: false,
|
||||
description: 'testsuite: run rendercheck triangles tests (might fail on Xephyr)')
|
||||
|
||||
@@ -46,10 +46,17 @@ rendercheck_tests_noblend = [
|
||||
['mask coordinates', '-t mcoords'],
|
||||
['translated source coordinates', '-t tscoords'],
|
||||
['translated mask coordinates', '-t tmcoords'],
|
||||
['triangles', '-t triangles'],
|
||||
['LibreOffice xRGB', '-t libreoffice_xrgb'],
|
||||
['GTK ARGB vs xBGR', '-t gtk_argb_xbgr'],
|
||||
]
|
||||
|
||||
if get_option('test_rendercheck_triangles')
|
||||
message('testsuite: rendercheck triangles enabled - expected to fail on Xephyr')
|
||||
rendercheck_tests_noblend += [ ['triangles', '-t triangles'] ]
|
||||
else
|
||||
message('testsuite: rendercheck triangles disabled')
|
||||
endif
|
||||
|
||||
rendercheck_blend = [
|
||||
['blend/Clear', '-t blend -o clear'],
|
||||
['blend/Src', '-t blend -o src'],
|
||||
|
||||
Reference in New Issue
Block a user