[neon/qt/pyside2/Neon/release] debian: Run build-time tests with all supported Python versions.

Dmitry Shachnev null at kde.org
Wed Oct 19 14:56:29 BST 2022


Git commit b8cc7b7e55aa6a6353ea555d1cdd5bd6d2aaf305 by Dmitry Shachnev, on behalf of Dmitry Shachnev.
Committed on 15/11/2021 at 12:41.
Pushed by jriddell into branch 'Neon/release'.

Run build-time tests with all supported Python versions.

M  +1    -0    debian/changelog
M  +4    -2    debian/rules

https://invent.kde.org/neon/qt/pyside2/commit/b8cc7b7e55aa6a6353ea555d1cdd5bd6d2aaf305

diff --git a/debian/changelog b/debian/changelog
index db5b4277..7bb175a6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pyside2 (5.15.2-2) UNRELEASED; urgency=medium
   [ Dmitry Shachnev ]
   * Backport upstream patches for Python 3.10 support (closes: #999369).
   * Backport upstream patch to adapt for LLVM 12.01.
+  * Run build-time tests with all supported Python versions.
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Mon, 15 Nov 2021 15:40:37 +0300
 
diff --git a/debian/rules b/debian/rules
index cb53dc81..ccfe66fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,7 +55,9 @@ override_dh_install-arch:
 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
+	QSG_NO_DEPTH_BUFFER=1 xvfb-run -a dh_auto_test -- --system=custom \
+		--test-args '{interpreter} testrunner.py test'
 else
-	xvfb-run python3 testrunner.py test
+	xvfb-run -a dh_auto_test -- --system=custom \
+		--test-args '{interpreter} testrunner.py test'
 endif



More information about the Neon-commits mailing list