[Python-modules-commits] [python-pika] 01/02: Add autopkgtests

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Fri Jul 28 03:47:20 UTC 2017


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

mans0954 pushed a commit to branch master
in repository python-pika.

commit a7ae547f5d6fba3915c7ff0a64076958db797c40
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Fri Jul 28 04:41:54 2017 +0100

    Add autopkgtests
---
 debian/changelog     | 1 +
 debian/tests/control | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c84f0a9..619709a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-pika (0.10.0-3) UNRELEASED; urgency=medium
     such file or directory" filename now version_history.rst.txt (Closes:
     #867990)
   * Fix spelling in debian/python-pika-doc.doc-base 
+  * Add autopkgtests 
 
  -- Christopher Hoskin <mans0954 at debian.org>  Fri, 28 Jul 2017 04:19:38 +0100
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8839470
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import pika; print pika" ; done
+Depends: python-all, python-pika
+
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import pika; print(pika)" ; done
+Depends: python3-all, python3-pika
+

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



More information about the Python-modules-commits mailing list