[scoop] 01/02: added DEP-8 tests
Daniel Stender
danstender-guest at moszumanska.debian.org
Sat Sep 6 10:13:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
danstender-guest pushed a commit to branch master
in repository scoop.
commit a77a34dae64300ad1f4e144b556a2f26931269f4
Author: Daniel Stender <daniel at danielstender.com>
Date: Sat Sep 6 12:05:50 2014 +0200
added DEP-8 tests
---
debian/changelog | 2 +-
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/python2 | 6 ++++++
4 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7b888c7..4497dbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,4 +6,4 @@ scoop (0.7.1-1) unstable; urgency=medium
Scoop in Debian until 2006 was another program (web-based
collaborative media application).
- -- Daniel Stender <debian at danielstender.com> Fri, 05 Sep 2014 00:00:11 +0200
+ -- Daniel Stender <debian at danielstender.com> Sat, 06 Sep 2014 12:04:26 +0200
diff --git a/debian/control b/debian/control
index b6f8913..bfd7e26 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/scoop.git
Vcs-Git: git://anonscm.debian.org/debian-science/packages/scoop.git
Homepage: http://scoop.googlecode.com/
X-Python-Version: >= 2.6
+XS-Testsuite: autopkgtest
Package: python-scoop
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f96ccad
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: python2
+Depends: python-all, python-scoop, python-greenlet, python-zmq
\ No newline at end of file
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..096a91e
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e -u
+export PYTHONWARNINGS=d
+cp -a test/ "$ADTTMP"
+cd "$ADTTMP/test/"
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} tests.py 2>&1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scoop.git
More information about the debian-science-commits
mailing list