Add patch to disable testing of the old 'gl' renderer
authorSimon McVittie <smcv@debian.org>
Thu, 2 Sep 2021 22:24:56 +0000 (23:24 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 2 Sep 2021 22:57:40 +0000 (23:57 +0100)
The newer 'ngl' renderer is already the default, and 'gl' was removed
upstream in 4.5.x, so 'gl' doesn't seem worthwhile to try to support.
It also crashes in a couple of tests on mips*el. Let's focus testing
effort on the renderer that has a future.

debian/patches/debian/testsuite-Don-t-test-the-old-gl-renderer.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/debian/testsuite-Don-t-test-the-old-gl-renderer.patch b/debian/patches/debian/testsuite-Don-t-test-the-old-gl-renderer.patch
new file mode 100644 (file)
index 0000000..d5f04ae
--- /dev/null
@@ -0,0 +1,24 @@
+From: Simon McVittie <smcv@debian.org>
+Date: Thu, 2 Sep 2021 22:44:21 +0100
+Subject: testsuite: Don't test the old gl renderer
+
+This was removed in GTK 4.5, and two of its tests crash when run on
+mipsel.
+
+Forwarded: not-needed, upstream removed this renderer already
+---
+ testsuite/gsk/meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
+index e6901e5..d225653 100644
+--- a/testsuite/gsk/meson.build
++++ b/testsuite/gsk/meson.build
+@@ -92,7 +92,6 @@ informative_render_tests = [
+ renderers = [
+   # name      exclude term
+-  [ 'gl', '-ngl'    ],
+   [ 'ngl', ''    ],
+   [ 'broadway',  '-3d' ],
+   [ 'cairo',  '-3d' ],
index 60db8eae6560ad7e13d9fa7c02578bdf19c43161..1b6f0d1b92e2f2b970d070640890983620f1f2f0 100644 (file)
@@ -6,3 +6,4 @@ compose-Generate-endian-dependent-compact-Compose-data.patch
 compose-Document-how-to-get-compose-parse-input-from-libX.patch
 compose-Update-sequences-from-libX11-1.7.2.patch
 reftest-compare-Treat-colour-channels-as-undefined-if-alp.patch
+debian/testsuite-Don-t-test-the-old-gl-renderer.patch