[Python-modules-commits] [django-celery] 01/01: Ensure Python 3 tests get executed. See #802839.

Brian May bam at moszumanska.debian.org
Sat Oct 24 02:20:06 UTC 2015


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

bam pushed a commit to branch master
in repository django-celery.

commit 17026dc213bc114281d425417dfb786cc6ace2e7
Author: Brian May <bam at debian.org>
Date:   Sat Oct 24 13:19:37 2015 +1100

    Ensure Python 3 tests get executed. See #802839.
---
 debian/changelog | 1 +
 debian/rules     | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f4a3bc4..758e0e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 django-celery (3.1.17-2) UNRELEASED; urgency=medium
 
   * Fix debian/watch file.
+  * Ensure Python 3 tests get executed. See #802839.
 
  -- Brian May <bam at debian.org>  Sat, 24 Oct 2015 11:18:14 +1100
 
diff --git a/debian/rules b/debian/rules
index 4a6ace3..d54472f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,12 +24,8 @@ override_dh_compress:
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	set -e; \
-	for python in $(shell pyversions -r); do \
-	  DEB_NETWORK_TESTS=disabled $$python setup.py test ; \
-	done
-endif
+	DEB_NETWORK_TESTS=disabled \
+	dh_auto_test -- --system=custom --test-args="{interpreter} setup.py test"
 
 .PHONY: override_dh_clean
 override_dh_clean:

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



More information about the Python-modules-commits mailing list