[Python-modules-commits] [cf-python] 16/17: Added copying of test directory.

Klaus Zimmermann zklaus-guest at moszumanska.debian.org
Thu Sep 8 14:48:57 UTC 2016


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

zklaus-guest pushed a commit to branch master
in repository cf-python.

commit 5a24c0db0cee42b05aafda60f2d030a25385f958
Author: Klaus Zimmermann <klaus_zimmermann at gmx.de>
Date:   Fri Aug 19 13:12:36 2016 +0200

    Added copying of test directory.
    
    Signed-off-by: Klaus Zimmermann <klaus_zimmermann at gmx.de>
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a9149e0..7cd7f5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,9 @@ export PYBUILD_NAME=cf
 
 
 override_dh_auto_test:
-	dh_auto_test -- --system=custom --test-args='cd {build_dir}; {interpreter} {dir}/test/run_tests.py'
+	dh_auto_test -O--buildsystem=pybuild -- --system=custom \
+                     --before-test 'cp -R {dir}/test {build_dir}; echo {build_dir}/test >> {home_dir}/build_dirs_to_rm_before_install' \
+                     --test-args='cd {build_dir}; {interpreter} test/run_tests.py'
 
 override_dh_sphinxdoc:
 	dh_sphinxdoc -X underscore.js \

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



More information about the Python-modules-commits mailing list