[neon/qt/qt3d/Neon/testing] debian: Add a patch to disable tst_qtext2dentity on all OpenGL ES 2 environments.

Dmitry Shachnev null at kde.org
Tue May 18 14:56:07 BST 2021


Git commit 5a0310c298aa28f44ed0a28045e3f49440a1e76f by Dmitry Shachnev.
Committed on 30/10/2020 at 17:47.
Pushed by sitter into branch 'Neon/testing'.

Add a patch to disable tst_qtext2dentity on all OpenGL ES 2 environments.

Closes: #973440.

M  +3    -0    debian/changelog
A  +1    -0    debian/patches/series
A  +18   -0    debian/patches/tst_qtext2dentity_gles_disable.diff

https://invent.kde.org/neon/qt/qt3d/commit/5a0310c298aa28f44ed0a28045e3f49440a1e76f

diff --git a/debian/changelog b/debian/changelog
index 813ef28..03924ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
 qt3d-opensource-src (5.15.1+dfsg-3) UNRELEASED; urgency=medium
 
+  [ Dmitry Shachnev ]
+  * Add a patch to disable tst_qtext2dentity::checkChangeArbiter() test on
+    all OpenGL ES 2 environments, not just ANGLE (closes: #973440).
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Fri, 30 Oct 2020 20:42:22 +0300
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7abf8c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+tst_qtext2dentity_gles_disable.diff
diff --git a/debian/patches/tst_qtext2dentity_gles_disable.diff b/debian/patches/tst_qtext2dentity_gles_disable.diff
new file mode 100644
index 0000000..4741de4
--- /dev/null
+++ b/debian/patches/tst_qtext2dentity_gles_disable.diff
@@ -0,0 +1,18 @@
+Description: disable qtext2dentity test on all OpenGL ES 2 environments
+ It fails on Debian armel/armhf too, because of this error:
+ QEGLPlatformContext: eglMakeCurrent failed: 3009
+Author: Dmitry Shachnev <mitya57 at debian.org>
+Forwarded: no
+Last-Update: 2020-10-30
+
+--- a/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
++++ b/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
+@@ -77,7 +77,7 @@ private slots:
+ 
+ void tst_qtext2dentity::checkChangeArbiter()
+ {
+-#if !defined(QT_OPENGL_ES_2_ANGLE)
++#if !defined(QT_OPENGL_ES_2)
+     // GIVEN
+     Qt3DExtras::Quick::Qt3DQuickWindow view;
+     view.setSource(QUrl("qrc:/qtext2dentity.qml"));



More information about the Neon-commits mailing list