[Python-modules-commits] [pytest-localserver] 13/14: deb/rules: added removal of .cache to PYBUILD tests args

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Mar 18 17:45:14 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository pytest-localserver.

commit fb9ecad40d507471c77231377a89895ead49553d
Author: Daniel Stender <stender at debian.org>
Date:   Fri Mar 18 18:40:44 2016 +0100

    deb/rules: added removal of .cache to PYBUILD tests args
---
 debian/changelog | 3 ++-
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 211b274..830f660 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,11 +11,12 @@ pytest-localserver (0.3.5-1) UNRELEASED; urgency=medium
   * deb/copyright:
     + set Files-Excluded for cruft.
     + updated.
+  * deb/rules: added removal of .cache to PYBUILD tests args.
   * deb/test/python{,3}-pytest-localserver:
     + put set -e into script body.
     + use shell loop instead of pipes with xargs and env.
 
- -- Daniel Stender <stender at debian.org>  Fri, 18 Mar 2016 18:34:35 +0100
+ -- Daniel Stender <stender at debian.org>  Fri, 18 Mar 2016 18:39:52 +0100
 
 pytest-localserver (0.3.4-2) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 01029bf..aab7c72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export https_proxy=
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x && rm -rf .cache" dh_auto_test
 
 override_dh_installdocs:
 	dh_installdocs -A README

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



More information about the Python-modules-commits mailing list