[python-h5netcdf] 05/10: Ensure tests are run in isolation during build

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Oct 11 16:36:15 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-h5netcdf.

commit 19a1c481d66d5a1bb956aed4b1e088e28efe85a1
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Sep 6 09:00:17 2017 +0100

    Ensure tests are run in isolation during build
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4dfcbd7..48ac511 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,8 @@
 #export DH_VERBOSE = 1
 
 export PYBUILD_NAME = h5netcdf
-export PYBUILD_TEST_ARGS = {dir}/h5netcdf/tests
+export PYBUILD_BEFORE_TEST = cp -r {dir}/h5netcdf/tests {build_dir}
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/tests
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-h5netcdf.git



More information about the debian-science-commits mailing list