[Python-modules-commits] [python-sparse] 03/05: Ensure tests are run in isolation
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Aug 7 08:44:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-sparse.
commit e5aa1f953cd4c7aa71cbd6f483bafb127e8e8d97
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sat Aug 5 09:51:48 2017 +0100
Ensure tests are run in isolation
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 740df9f..e113ef8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,8 @@ export PYBUILD_NAME = sparse
ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
export PYBUILD_DISABLE = test
else
-export PYBUILD_TEST_ARGS = {dir}/sparse/tests
+export PYBUILD_BEFORE_TEST = cp -r {dir}/sparse/tests {build_dir}
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/tests
endif
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-sparse.git
More information about the Python-modules-commits
mailing list