[Python-modules-commits] [pyuca] 01/01: add DEB-8 tests

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Jan 22 15:59:05 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository pyuca.

commit 6a2a4ee3942eceab8cc600a6b29b05f4a90aef3e
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri Jan 22 16:56:31 2016 +0100

    add DEB-8 tests
---
 debian/changelog           | 3 ++-
 debian/tests/control       | 5 +++++
 debian/tests/python-pyuca  | 3 +++
 debian/tests/python3-pyuca | 3 +++
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6fe3dc7..d5b0b4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ pyuca (1.1-3) unstable; urgency=medium
   * deb/changelog: expanded copyright span, added W. Martin to debian/*,
     converted unwanted tabs.
   * deb/rules: set locale to UTF-8 for running tests (Closes: #812201).
+  * Add DEB-8 tests.
 
- -- Daniel Stender <debian at danielstender.com>  Fri, 22 Jan 2016 11:33:47 +0100
+ -- Daniel Stender <debian at danielstender.com>  Fri, 22 Jan 2016 16:55:08 +0100
 
 pyuca (1.1-2) unstable; urgency=medium
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d79f690
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-pyuca
+Depends: python-all
+
+Tests: python3-pyuca
+Depends: python3-all
diff --git a/debian/tests/python-pyuca b/debian/tests/python-pyuca
new file mode 100755
index 0000000..0861a8a
--- /dev/null
+++ b/debian/tests/python-pyuca
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+for py in $(pyversions -i); do echo "[*] testing $py:"; PYTHONPATH=. $py -Wd ./test.py 2>&1; LC_ALL=C.UTF-8 PYTHONPATH=. $py -Wd ./full_test.py; done
diff --git a/debian/tests/python3-pyuca b/debian/tests/python3-pyuca
new file mode 100755
index 0000000..349bb8b
--- /dev/null
+++ b/debian/tests/python3-pyuca
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+for py in $(py3versions -i); do echo "[*] testing $py:"; PYTHONPATH=. $py -Wd ./test.py 2>&1; LC_ALL=C.UTF-8 PYTHONPATH=. $py -Wd ./full_test.py; done

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



More information about the Python-modules-commits mailing list