tests: Mark gltexture as expected to fail on big-endian machines
authorSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 10:57:36 +0000 (11:57 +0100)
committerAmin Bandali <bandali@ubuntu.com>
Wed, 4 Oct 2023 20:11:12 +0000 (21:11 +0100)
Forwarded: not-needed, workaround

Gbp-Pq: Topic debian
Gbp-Pq: Name tests-Mark-gltexture-as-expected-to-fail-on-big-endian-ma.patch

testsuite/gdk/meson.build

index 92dc6abe7f32b6ad090b511ca92a25e0a43265a7..842e1aba93a8dc5b64d660732111d40ac740e24f 100644 (file)
@@ -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