[Python-modules-commits] [celery] 01/01: Simplify tests.
Brian May
bam at moszumanska.debian.org
Mon Oct 26 01:25:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
bam pushed a commit to branch master
in repository celery.
commit 145e9c969f80540526bf6baf134d83dd9cd266be
Author: Brian May <bam at debian.org>
Date: Mon Oct 26 12:15:05 2015 +1100
Simplify tests.
---
debian/rules | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index 3c9518c..d995f38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,18 +22,8 @@ override_dh_auto_build:
dh_auto_build
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- set -e; \
- for python in $(shell pyversions -r); do \
- rm -f test.db ; \
- PYTHONPATH=. LC_ALL=C.UTF-8 $$python setup.py test ; \
- done
- set -e; \
- for python in $(shell py3versions -r); do \
- rm -f test.db ; \
- PYTHONPATH=. LC_ALL=C.UTF-8 $$python setup.py test ; \
- done
-endif
+ PYTHONPATH=. LC_ALL=C.UTF-8 \
+ dh_auto_test -- --system=custom --test-args="{interpreter} setup.py test"
override_dh_clean:
rm -rf .build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery.git
More information about the Python-modules-commits
mailing list