[Python-modules-commits] [ruamel.yaml] 08/09: d/rules: make tests work

Vincent Bernat bernat at moszumanska.debian.org
Wed Feb 17 10:09:57 UTC 2016


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

bernat pushed a commit to branch master
in repository ruamel.yaml.

commit 10a29d133181c1dd03a0d0136a6dcede2a1da35f
Author: Vincent Bernat <vincent at bernat.im>
Date:   Wed Feb 17 10:36:28 2016 +0100

    d/rules: make tests work
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8595d7e..b63fc00 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ export PYBUILD_INSTALL_ARGS=--single-version-externally-managed
 export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin/
 export PYBUILD_BEFORE_BUILD_python2=cython ext/_ruamel_yaml.pyx
 export PYBUILD_BEFORE_BUILD_python3=cython3 ext/_ruamel_yaml.pyx
+export PYBUILD_BEFORE_TEST=ln -s {dir}/_test {build_dir}/
+export PYBUILD_TEST_ARGS=_test/test_*.py
 
 %:
 	dh $@ --with python3,python2 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list