[python-arrayfire] 03/07: Update test override.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 16 09:58:38 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit 70292f88813dec5b769bb0cb2e613aa46194e744
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Sep 16 07:45:40 2016 +0100

    Update test override.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 519593a..ae9b5a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,7 @@ export PYBUILD_NAME=arrayfire
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="{interpreter} tests/__main__.py" \
+	PYBUILD_BEFORE_TEST="cp -r {dir}/tests {build_dir}" \
+	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -m tests" \
+	PYBUILD_AFTER_TEST="rm -rf {build_dir}/tests" \
 	dh_auto_test

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



More information about the debian-science-commits mailing list