[gtk/test-protocol: 2/3] reftests: Fix an xfail to work
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/test-protocol: 2/3] reftests: Fix an xfail to work
- Date: Fri, 20 Mar 2020 15:56:45 +0000 (UTC)
commit 9403f44aefd6447c72fdc1bcd79870eb22778f19
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Mar 20 11:52:54 2020 -0400
reftests: Fix an xfail to work
The background-image-multiple.ref.ui file uses
non-existing properties, which gives us a g_warning,
and the glib test framework insists on treating
warnings as fatal, so we end up doing exit(133),
which in turn makes the meson TAP parser ignore
its xfails.
Comment out the nonexisting properties, so we can
fail properly, and then in turn xfail properly.
testsuite/reftests/background-image-multiple.ref.ui | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/testsuite/reftests/background-image-multiple.ref.ui
b/testsuite/reftests/background-image-multiple.ref.ui
index 6dec5707fc..04a9c3c17a 100644
--- a/testsuite/reftests/background-image-multiple.ref.ui
+++ b/testsuite/reftests/background-image-multiple.ref.ui
@@ -45,8 +45,10 @@
<property name="width_request">144</property>
<property name="height_request">70</property>
<layout>
+<!-- FIXME: these don't exist anymore
<property name="x">0</property>
<property name="y">0</property>
+-->
</layout>
</object>
</child>
@@ -58,8 +60,10 @@
<property name="width_request">120</property>
<property name="height_request">46</property>
<layout>
+<!-- FIXME: these don't exist anymore
<property name="x">12</property>
<property name="y">12</property>
+-->
</layout>
</object>
</child>
@@ -77,8 +81,10 @@
<property name="width_request">144</property>
<property name="height_request">70</property>
<layout>
+<!-- FIXME: these don't exist anymore
<property name="x">0</property>
<property name="y">0</property>
+-->
</layout>
</object>
</child>
@@ -90,8 +96,10 @@
<property name="width_request">120</property>
<property name="height_request">46</property>
<layout>
+<!-- FIXME: these don't exist anymore
<property name="x">12</property>
<property name="y">12</property>
+-->
</layout>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]