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:
Enrico Weigelt, metux IT consult
2025-08-27 13:59:37 +02:00
parent 1cff4cae67
commit e6b0a56076
2 changed files with 12 additions and 1 deletions

View File

@@ -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)')

View File

@@ -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'],