[Python-modules-commits] [isodate] 01/22: debian/tests/: Basic DEP-8 test to run test suite for python 2 and python 3.

Maximiliano Curia maxy at moszumanska.debian.org
Wed Sep 10 19:21:07 UTC 2014


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

maxy pushed a commit to branch master
in repository isodate.

commit 38d31da6a27ffd970bba5e1c2f8a0278f006515e
Author: James Hunt <james.hunt at ubuntu.com>
Date:   Wed Sep 10 10:05:55 2014 +0200

    debian/tests/: Basic DEP-8 test to run test suite for python 2 and python 3.
---
 debian/tests/control   | 2 ++
 debian/tests/run-tests | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..69e5298
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: run-tests
+Depends: @, python-setuptools, python3-setuptools
diff --git a/debian/tests/run-tests b/debian/tests/run-tests
new file mode 100644
index 0000000..a82acfa
--- /dev/null
+++ b/debian/tests/run-tests
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+(python setup.py test && python3 setup.py test) 2>&1

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



More information about the Python-modules-commits mailing list