[python-bitstring] 01/04: d/rules: enable test suite discovery

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jul 1 12:54:01 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository python-bitstring.

commit f8af5a7a918a157d04ba638f9da8dedb347d3fc0
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 1 13:08:58 2015 +0100

    d/rules: enable test suite discovery
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 45a0068..c5090ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=bitstring
+export PYBUILD_BEFORE_TEST=cp -r {dir}/test {build_dir}
+export PYBUILD_TEST_ARGS={build_dir}/test
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test
+
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 

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



More information about the debian-science-commits mailing list