[neon/qt/pyside2/Neon/release] debian: Fix a bug in test_install_python3.sh.

Dmitry Shachnev null at kde.org
Thu Jul 25 03:06:04 BST 2024


Git commit 24215fa0b481f38a35b1bbdd5a09949c43486cce by Dmitry Shachnev.
Committed on 14/01/2024 at 17:04.
Pushed by carlosdem into branch 'Neon/release'.

Fix a bug in test_install_python3.sh.

Because of which the test did not do anything.

Thanks Stuart Prescott!

M  +2    -0    debian/changelog
M  +1    -1    debian/tests/test_install_python3.sh

https://invent.kde.org/neon/qt/pyside2/-/commit/24215fa0b481f38a35b1bbdd5a09949c43486cce

diff --git a/debian/changelog b/debian/changelog
index d936aac2..a8afa1e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pyside2 (5.15.12-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Drop make-wheels-compatible-with-Python-3.11.patch, included in the
     new release.
+  * Fix a bug in test_install_python3.sh because of which the test did
+    not do anything. Thanks Stuart Prescott!
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sun, 24 Dec 2023 19:05:44 +0300
 
diff --git a/debian/tests/test_install_python3.sh b/debian/tests/test_install_python3.sh
index db5b06b6..d74a4c9e 100755
--- a/debian/tests/test_install_python3.sh
+++ b/debian/tests/test_install_python3.sh
@@ -3,7 +3,7 @@
 set -e
 
 echo "Testing python3 package $1"
-for py in $(py3versions -d >/dev/null) ; do
+for py in $(py3versions -d 2>/dev/null) ; do
     cd "$AUTOPKGTEST_TMP" ;
     echo "Testing with $py:" ;
     $py -c "import $2; print($2)" ;



More information about the Neon-commits mailing list