[Python-modules-commits] [python-hypothesis] 01/12: Run tests.

Tristan Seligmann mithrandi at moszumanska.debian.org
Sat Jan 23 02:52:24 UTC 2016


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

mithrandi pushed a commit to branch master
in repository python-hypothesis.

commit 1a8e4191ea648cc8b9846d86c2feca048f97f6ba
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Mon Dec 21 13:26:31 2015 +0200

    Run tests.
---
 debian/control | 8 ++++++--
 debian/rules   | 6 +++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index da54684..5d85e6a 100644
--- a/debian/control
+++ b/debian/control
@@ -10,12 +10,16 @@ Build-Depends:
  dh-python,
  python-all,
  python-flake8,
- python-pytest,
+ python-pytest (>= 2.8),
  python-setuptools,
+ python-numpy,
+ python-tz,
  python3-all,
  python3-flake8,
- python3-pytest,
+ python3-pytest (>= 2.8),
  python3-setuptools,
+ python3-numpy,
+ python3-tz,
 Standards-Version: 3.9.6
 Homepage: https://github.com/DRMacIver/hypothesis
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-hypothesis.git
diff --git a/debian/rules b/debian/rules
index 5348f9c..1323bec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,11 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
-export PYBUILD_NAME = hypothesis
+export DH_VERBOSE=1
+export PYBUILD_NAME=hypothesis
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS={dir}/tests/cover {dir}/tests/py3 {dir}/tests/pytest {dir}/tests/datetime {dir}/tests/numpy
+export PYBUILD_TEST_ARGS_python2.7={dir}/tests/cover {dir}/tests/py2 {dir}/tests/pytest {dir}/tests/datetime {dir}/tests/numpy
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list