From 198207f1ff74a5ff0fff77157616c39df923a0b8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 12 Apr 2019 18:01:45 +0200 Subject: [PATCH] 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. --- testsuite/reftests/meson.build | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build index 93b6742dec..e77a8579a4 100644 --- a/testsuite/reftests/meson.build +++ b/testsuite/reftests/meson.build @@ -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