[gtk/wip/otte/css: 1/2] reftests: Mark the currently unfixed failures as XFAIL



commit 6facfb3a845df101b05a85a51c729d63b338eb03
Author: Benjamin Otte <otte redhat com>
Date:   Fri Apr 12 18:01:45 2019 +0200

    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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]