[python-bayespy] 08/12: Add an autopkgtest suite

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Sep 28 08:08:11 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository python-bayespy.

commit 85e293d0e0f951c8729b11fe28330277ed232bb5
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Sep 27 14:36:11 2017 +0100

    Add an autopkgtest suite
---
 debian/control       |  1 -
 debian/tests/control | 13 +++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 279db78..6993aca 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,6 @@ Source: python-bayespy
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
 Section: python
-Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dh-python,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..9eacd17
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,13 @@
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; xvfb-run -a $py -m nose -v bayespy
+ ; done
+Depends: python3-all,
+         python3-bayespy,
+         python3-nose,
+         python3-tk,
+         xauth,
+         xvfb
+Restrictions: allow-stderr

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



More information about the debian-science-commits mailing list