File: nodeparser-Mark-failing-tests-on-s390x.patch

package info (click to toggle)
gtk4 4.20.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 187,060 kB
  • sloc: ansic: 779,084; xml: 3,093; javascript: 3,054; python: 1,911; java: 752; sh: 682; makefile: 315; perl: 162; cpp: 21
file content (36 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Alessandro Astone <alessandro.astone@canonical.com>
Date: Mon, 18 Aug 2025 11:20:19 +0200
Subject: nodeparser: Mark failing tests on s390x

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/7707
Forwarded: not-needed, workaround
---
 testsuite/gsk/meson.build | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index c049a94..8f0e5d8 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -518,6 +518,12 @@ node_parser_tests = [
 
 foreach test : node_parser_tests
   if test.endswith('.node') and not test.endswith('.ref.node')
+    suites = [ 'gsk', 'gsk-nodeparser' ]
+
+    if host_machine.endian() == 'big' and test in ['empty-texture.node', 'empty-texture-scale.node', 'texture-fail.node', 'texture-scale-unknown-filter.node']
+      suites += 'failing'
+    endif
+
     test('parser ' + test, node_parser,
       args: [
         join_paths(meson.current_source_dir(), 'nodeparser', test)
@@ -530,7 +536,7 @@ foreach test : node_parser_tests
         'FONTCONFIG_FILE=@0@/fonts/fonts.conf'.format(meson.current_source_dir()),
       ],
       protocol: 'exitcode',
-      suite: [ 'gsk', 'gsk-nodeparser' ]
+      suite: suites
     )
   endif
 endforeach