[neon/qt/pyside2/Neon/release] debian: Run tests with QSG_NO_DEPTH_BUFFER=1 on mips64el.
Dmitry Shachnev
null at kde.org
Wed Oct 19 14:56:27 BST 2022
Git commit e28a6a502213848bd8fe75577bde22df8eb9605b by Dmitry Shachnev.
Committed on 19/10/2020 at 18:50.
Pushed by jriddell into branch 'Neon/release'.
Run tests with QSG_NO_DEPTH_BUFFER=1 on mips64el.
Fixes FTBFS, see https://bugs.debian.org/868745.
M +2 -0 debian/changelog
M +6 -1 debian/rules
https://invent.kde.org/neon/qt/pyside2/commit/e28a6a502213848bd8fe75577bde22df8eb9605b
diff --git a/debian/changelog b/debian/changelog
index 89670bf3..c6fc1cc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
pyside2 (5.15.0-5) UNRELEASED; urgency=medium
+ [ Dmitry Shachnev ]
+ * Run tests with QSG_NO_DEPTH_BUFFER=1 on mips64el (see #868745).
-- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org> Mon, 19 Oct 2020 21:45:23 +0300
diff --git a/debian/rules b/debian/rules
index 0ccd048d..1e6101eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/default.mk
# Safety measure to ensure package names match SONAMEs
PYSIDE_MAJOR := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d. -f1-2)
@@ -57,4 +57,9 @@ override_dh_install-arch:
debian/set-paths
override_dh_auto_test:
+ifeq (mips64el,$(DEB_HOST_ARCH))
+ # See https://bugs.debian.org/868745
+ QSG_NO_DEPTH_BUFFER=1 xvfb-run python3 testrunner.py test
+else
xvfb-run python3 testrunner.py test
+endif
More information about the Neon-commits
mailing list