mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +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:
@@ -148,3 +148,7 @@ option('docs-pdf', type: 'combo', choices: ['true', 'false', 'auto'], value: 'au
|
||||
|
||||
option('legacy_nvidia_padding', type: 'boolean', value: false,
|
||||
description: 'EXPERT ONLY: Add a padding to ScreenRec to match an older ABI for legacy NVidia drivers')
|
||||
|
||||
# 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