[h5py] 11/12: Simplify the packaging testsuite.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Dec 1 12:06:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository h5py.

commit 54b742593ef7bc229212a3969dd2af33f4cf44af
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Dec 1 11:27:28 2016 +0000

    Simplify the packaging testsuite.
---
 debian/tests/control | 18 ++++++++----------
 debian/tests/python2 | 13 -------------
 debian/tests/python3 | 13 -------------
 3 files changed, 8 insertions(+), 36 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 453e992..5cd323f 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,11 +1,9 @@
-Tests: python2
-Depends: python-all,
-         python-all-dbg,
-         python-h5py,
-         python-h5py-dbg
+Test-Command: cd $AUTOPKGTEST_TMP
+ ; python -c "import h5py; h5py.run_tests()"
+Depends: python-h5py
+Restrictions: allow-stderr
 
-Tests: python3
-Depends: python3-all,
-         python3-all-dbg,
-         python3-h5py,
-         python3-h5py-dbg
+Test-Command: cd $AUTOPKGTEST_TMP
+ ; python3 -c "import h5py; h5py.run_tests()"
+Depends: python3-h5py
+Restrictions: allow-stderr
diff --git a/debian/tests/python2 b/debian/tests/python2
deleted file mode 100755
index 6deb124..0000000
--- a/debian/tests/python2
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -efu
-
-pys="$(pyversions -r 2>/dev/null)"
-
-cd "$ADTTMP"
-
-for py in $pys; do
-	echo "=== $py ==="
-	$py -c "import h5py; h5py.run_tests()" 2>&1
-	echo "=== $py-dbg ==="
-	$py-dbg -c "import h5py; h5py.run_tests()" 2>&1
-done
diff --git a/debian/tests/python3 b/debian/tests/python3
deleted file mode 100755
index 3b0c521..0000000
--- a/debian/tests/python3
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-set -efu
-
-pys="$(py3versions -r 2>/dev/null)"
-
-cd "$ADTTMP"
-
-for py in $pys; do
-	echo "=== $py ==="
-	$py -c "import h5py; h5py.run_tests()" 2>&1
-	echo "=== $py-dbg ==="
-	$py-dbg -c "import h5py; h5py.run_tests()" 2>&1
-done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git



More information about the debian-science-commits mailing list