Ignore another test failure on big-endian machines
authorSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 10:59:02 +0000 (11:59 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 10:59:02 +0000 (11:59 +0100)
Similar to #1024391.

debian/patches/debian/tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/debian/tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch b/debian/patches/debian/tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch
new file mode 100644 (file)
index 0000000..84bec8a
--- /dev/null
@@ -0,0 +1,35 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Tue, 22 Aug 2023 11:57:36 +0100
+Subject: tests: Mark gltexture as expected to fail on big-endian machines
+
+Forwarded: not-needed, workaround
+---
+ testsuite/gdk/meson.build | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build
+index 92dc6ab..842e1ab 100644
+--- a/testsuite/gdk/meson.build
++++ b/testsuite/gdk/meson.build
+@@ -69,6 +69,12 @@ foreach t : internal_tests
+     install_dir: testexecdir,
+   )
++  suites = ['gdk']
++
++  if host_machine.endian() == 'big' and t == 'gltexture'
++    suites += 'failing'
++  endif
++
+   test(t, test_exe,
+     args: [ '--tap', '-k' ],
+     protocol: 'tap',
+@@ -77,7 +83,7 @@ foreach t : internal_tests
+       'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+       'DBUS_SESSION_BUS_ADDRESS=',
+     ],
+-    suite: 'gdk',
++    suite: suites,
+   )
+ endforeach
index 2ca21b4756bd2c138193a8d18ea696ae4a5f80ae..e7880ccb3d3ba20352ecaa75ce311040fc40df51 100644 (file)
@@ -11,3 +11,4 @@ debian/subprojects-Add-gst-player-1.0-as-subporject.patch
 debian/gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
 debian/media-Use-gstplayer-from-meson-subproject.patch
 debian/gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
+debian/tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch