Source: pytables
Severity: important
Tags: patch
Dear Maintainer,
It turns out that the tables.test function the autopkgtest call returns the
exit code and does not exit with it. Simple patch attached.
Cheers,
mwh
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial'), (400,
'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-78-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff --git a/debian/tests/python2 b/debian/tests/python2
index 56c0d1a..42f6674 100755
--- a/debian/tests/python2
+++ b/debian/tests/python2
@@ -8,5 +8,5 @@ cd "$ADTTMP"
for py in $PYS; do
echo "=== $py ==="
- $py -c "import $TESTPKG; $TESTPKG.test(verbose=2)" 2>&1
+ $py -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
done
diff --git a/debian/tests/python2-dbg b/debian/tests/python2-dbg
index 1df3f6a..f7adb1d 100755
--- a/debian/tests/python2-dbg
+++ b/debian/tests/python2-dbg
@@ -8,5 +8,5 @@ cd "$ADTTMP"
for py in $PYS; do
echo "=== $py ==="
- $py-dbg -c "import $TESTPKG; $TESTPKG.test(verbose=2)" 2>&1
+ $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
done
diff --git a/debian/tests/python3 b/debian/tests/python3
index 13187cc..10531d3 100755
--- a/debian/tests/python3
+++ b/debian/tests/python3
@@ -8,5 +8,5 @@ cd "$ADTTMP"
for py in $PYS; do
echo "=== $py ==="
- $py -c "import $TESTPKG; $TESTPKG.test(verbose=2)" 2>&1
+ $py -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
done
diff --git a/debian/tests/python3-dbg b/debian/tests/python3-dbg
index 122cc3c..a13c00f 100755
--- a/debian/tests/python3-dbg
+++ b/debian/tests/python3-dbg
@@ -8,5 +8,5 @@ cd "$ADTTMP"
for py in $PYS; do
echo "=== $py ==="
- $py-dbg -c "import $TESTPKG; $TESTPKG.test(verbose=2)" 2>&1
+ $py-dbg -c "import $TESTPKG, sys; sys.exit($TESTPKG.test(verbose=2))" 2>&1
done
--
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers