[Python-modules-commits] r33686 - in packages/django-reversion/trunk/debian (changelog rules)
fladi at users.alioth.debian.org
fladi at users.alioth.debian.org
Tue Aug 11 07:10:34 UTC 2015
Date: Tuesday, August 11, 2015 @ 07:10:33
Author: fladi
Revision: 33686
Use pybuild to execute tests.
Modified:
packages/django-reversion/trunk/debian/changelog
packages/django-reversion/trunk/debian/rules
Modified: packages/django-reversion/trunk/debian/changelog
===================================================================
--- packages/django-reversion/trunk/debian/changelog 2015-08-11 07:04:59 UTC (rev 33685)
+++ packages/django-reversion/trunk/debian/changelog 2015-08-11 07:10:33 UTC (rev 33686)
@@ -1,6 +1,7 @@
django-reversion (1.9.3-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Use pybuild to execute tests.
-- Michael Fladischer <fladi at debian.org> Tue, 11 Aug 2015 08:31:56 +0200
Modified: packages/django-reversion/trunk/debian/rules
===================================================================
--- packages/django-reversion/trunk/debian/rules 2015-08-11 07:04:59 UTC (rev 33685)
+++ packages/django-reversion/trunk/debian/rules 2015-08-11 07:10:33 UTC (rev 33686)
@@ -9,12 +9,7 @@
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- set -e; \
- for python in $(shell pyversions -r) $(shell py3versions -r); do \
- PYTHONPATH="src" $$python src/tests/runtests.py ; \
- done
-endif
+ PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} src/tests/manage.py test src/tests/test_reversion/" dh_auto_test
override_dh_auto_build:
set -e; \
More information about the Python-modules-commits
mailing list