reftests: Mark the currently unfixed failures as XFAIL

They should be fixeed before 4.0 but the fixes are more involved. And we
want to start running the existing tests on CI, because they break
regularly and we want to catch that.
This commit is contained in:
Benjamin Otte 2019-04-12 18:01:45 +02:00
parent 6120f11ed3
commit 198207f1ff

View File

@ -410,6 +410,21 @@ testdata = [
'window-show-contents-on-map.ui',
]
# These need to be fixed but the issue hasn't been tracked down.
xfails = [
'background-color-transparent.ui',
'background-image-multiple.ui',
'background-origin.ui',
'border-half-pixel.ui',
'border-image-url.ui',
'label-shadows.ui',
'label-sizing.ui',
'label-wrap-justify.ui',
'sizegroups-evolution-identity-page.ui',
'textview-border-windows.ui',
'window-show-contents-on-map.ui',
]
foreach testname : testdata
if testname.endswith('.ui') and not testname.endswith('.ref.ui')
test('reftest ' + testname, gtk_reftest,
@ -424,7 +439,8 @@ foreach testname : testdata
'GSK_RENDERER=opengl',
'REFTEST_MODULE_DIR=@0@'.format(meson.current_build_dir()),
],
suite: 'reftest')
suite: 'reftest',
should_fail: xfails.contains(testname))
endif
endforeach