aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2014-05-27 14:42:20 +0000
committerDaniele Tricoli <eriol@mornie.org>2014-05-27 14:42:20 +0000
commit4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00 (patch)
tree7cf6fedeaede7fc347dae8db9e37b20de351313f /debian/rules
parenta83049459ec68bb7eb3d4cb093a1921085c44f45 (diff)
downloadpython-urllib3-4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00.tar
python-urllib3-4aa7d7f3a9cfc3b67279f3ed4853db4f60de3d00.tar.gz
Enabled tests at build time also for Python 3 using the custom build plugin for tests
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules13
1 files changed, 2 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index 364062f..7e92dea 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,17 +21,8 @@ override_dh_auto_install:
-d $(CURDIR)/debian/tmp/usr/share/python-wheels
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- set -ex; \
- for python in $(PYVERS); do \
- $$python setup.py nosetests; \
- done
-
- set -ex; \
- for python in $(PY3VERS); do \
- $$python setup.py nosetests; \
- done
-endif
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="{interpreter} -m nose" dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs CHANGES.rst