[Python-modules-commits] [pylint-common] 12/13: added DEP-8 tests

Daniel Stender danstender-guest at moszumanska.debian.org
Mon Jan 11 19:38:15 UTC 2016


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

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

commit dc894814239fb092a36c33180e696fdff791e287
Author: Daniel Stender <debian at danielstender.com>
Date:   Mon Jan 11 20:34:03 2016 +0100

    added DEP-8 tests
---
 debian/changelog                   | 3 ++-
 debian/tests/control               | 5 +++++
 debian/tests/python-pylint-common  | 3 +++
 debian/tests/python3-pylint-common | 3 +++
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 60d6b25..3efd835 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,8 +12,9 @@ pylint-common (0.2.2-1) UNRELEASED; urgency=medium
     + enable tests with Python3.
   * deb/watch:
     + used Github release instead of Pypi tarball (tests missing input).
+  * Added DEP-8 tests.
 
- -- Daniel Stender <debian at danielstender.com>  Mon, 11 Jan 2016 19:47:31 +0100
+ -- Daniel Stender <debian at danielstender.com>  Mon, 11 Jan 2016 20:34:14 +0100
 
 pylint-common (0.2.1-1) unstable; urgency=medium
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6c1a86e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-pylint-common
+Depends: python-all, pylint, python-pylint-plugin-utils
+
+Tests: python3-pylint-common
+Depends: python3-all, pylint3, python3-pylint-plugin-utils
\ No newline at end of file
diff --git a/debian/tests/python-pylint-common b/debian/tests/python-pylint-common
new file mode 100755
index 0000000..4302f91
--- /dev/null
+++ b/debian/tests/python-pylint-common
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e -u
+for py in $(pyversions -i); do echo "[*] testing $py:"; PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. $py -Wd test/test_func.py 2>&1; done
diff --git a/debian/tests/python3-pylint-common b/debian/tests/python3-pylint-common
new file mode 100755
index 0000000..1532998
--- /dev/null
+++ b/debian/tests/python3-pylint-common
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e -u
+for py in $(py3versions -i); do echo "[*] testing $py:"; PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. $py -Wd test/test_func.py 2>&1; done

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



More information about the Python-modules-commits mailing list