[Python-modules-commits] [taskw] 01/01: autopkgtest: add test suite

Edward Betts edward at moszumanska.debian.org
Wed Oct 4 07:35:17 UTC 2017


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

edward pushed a commit to branch master
in repository taskw.

commit 5a76ecbb45dfefdee517052c416c9f5d2245fce0
Author: Edward Betts <edward at 4angle.com>
Date:   Wed Oct 4 08:35:07 2017 +0100

    autopkgtest: add test suite
---
 debian/tests/control | 5 +++++
 debian/tests/python2 | 2 ++
 debian/tests/python3 | 2 ++
 3 files changed, 9 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7fd7a50
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python2
+Depends: @, python-nose
+
+Tests: python3
+Depends: @, python3-nose
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..a8aa841
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,2 @@
+#!/bin/sh
+python2 -m nose 2>&1
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100755
index 0000000..8a28208
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,2 @@
+#!/bin/sh
+python3 -m nose 2>&1

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



More information about the Python-modules-commits mailing list