[Python-modules-commits] [pydbus] 02/02: Add autopkgtest tests
Alberto Caso
acaso-guest at moszumanska.debian.org
Thu Dec 29 11:44:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
acaso-guest pushed a commit to branch master
in repository pydbus.
commit 532bf37dd9e35e6b82a218728660eee6d7753609
Author: Alberto Caso <alberto.caso at juntaex.es>
Date: Thu Dec 29 12:46:11 2016 +0100
Add autopkgtest tests
---
debian/changelog | 3 ++-
debian/control | 2 +-
debian/tests/control | 4 ++++
debian/tests/python2 | 7 +++++++
debian/tests/python3 | 7 +++++++
5 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index af6053b..767057b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ pydbus (0.6.0-1) unstable; urgency=low
* Remove no longer necessary .pyremove files.
* Drop debian/run_tests.sh script in favor of upstream's new tests/run.sh.
Add dbus-x11 build dependency as run.sh uses dbus-launch.
+ * Add autopkgtest tests.
- -- Alberto Caso <alberto.caso at juntaex.es> Wed, 28 Dec 2016 12:30:36 +0100
+ -- Alberto Caso <alberto.caso at juntaex.es> Thu, 29 Dec 2016 12:40:09 +0100
pydbus (0.5.1-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index cfb9e4c..d0afaeb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: dbus-x11,
python3-setuptools
Standards-Version: 3.9.8
Homepage: https://github.com/LEW21/pydbus
-Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pydbus.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pydbus.git/
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..eb003a6
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: python3 python2
+Depends: @,
+ dbus-x11
+
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100644
index 0000000..5e7909d
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for py in $(pyversions -i); do
+ tests/run.sh $py
+done
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100644
index 0000000..3a9c62b
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+for py in $(py3versions -i); do
+ tests/run.sh $py
+done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pydbus.git
More information about the Python-modules-commits
mailing list