[bcolz] 03/03: add DEP-8 tests

Daniel Stender stender at moszumanska.debian.org
Mon Dec 19 11:04:35 UTC 2016


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

stender pushed a commit to branch master
in repository bcolz.

commit 107b6187056d39168b79f3c0ea823dfd78fc8391
Author: Daniel Stender <stender at debian.org>
Date:   Mon Dec 19 11:58:02 2016 +0100

    add DEP-8 tests
---
 debian/changelog           | 3 ++-
 debian/tests/control       | 5 +++++
 debian/tests/python-bcolz  | 4 ++++
 debian/tests/python3-bcolz | 4 ++++
 4 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index affa7af..555eeed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ bcolz (1.1.0+ds1-2) experimental; urgency=medium
     + preset SETUPTOOLS_SCM_PRETEND_VERSION.
   * add bcolz/version.py to deb/clean.
   * add catch-cpuinfo-import-exception.patch.
+  * add DEP-8 tests.
 
- -- Daniel Stender <stender at debian.org>  Mon, 19 Dec 2016 11:56:48 +0100
+ -- Daniel Stender <stender at debian.org>  Mon, 19 Dec 2016 11:57:37 +0100
 
 bcolz (1.1.0+ds1-1) experimental; urgency=medium
 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..d91ab4e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-bcolz
+Depends: python-bcolz, python-numexpr, python-mock
+
+Tests: python3-bcolz
+Depends: python3-bcolz, python3-numexpr, python3-mock
\ No newline at end of file
diff --git a/debian/tests/python-bcolz b/debian/tests/python-bcolz
new file mode 100755
index 0000000..e07098c
--- /dev/null
+++ b/debian/tests/python-bcolz
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cd /
+for py in $(pyversions -i); do echo "[*] testing $py:"; $py -c 'import bcolz; bcolz.test()'; done
diff --git a/debian/tests/python3-bcolz b/debian/tests/python3-bcolz
new file mode 100755
index 0000000..b7299d3
--- /dev/null
+++ b/debian/tests/python3-bcolz
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cd /
+for py in $(py3versions -i); do echo "[*] testing $py:"; $py -c 'import bcolz; bcolz.test()'; done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/bcolz.git



More information about the debian-science-commits mailing list