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

afif-guest pushed a commit to branch master
in repository python-avro.

commit c36770b95cdd20846bfa119b5967f0f12ff70495
Author: Afif Elghraoui <a...@ghraoui.name>
Date:   Sat Oct 17 18:23:41 2015 -0700

    Enable build-time testing for python2 package (which needs ant)
---
 debian/rules | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/debian/rules b/debian/rules
index d49e035..2d6f7e3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,3 +43,15 @@ override_dh_auto_configure:
        dh_auto_configure                       \
                --sourcedirectory=lang/py3      \
                --package=python3-avro
+
+override_dh_auto_test:
+       PYBUILD_DISABLE_python3=1               \
+       PYBUILD_SYSTEM=custom                   \
+       PYBUILD_TEST_ARGS="ant test"            \
+       dh_auto_test                            \
+               --sourcedirectory=$(py2srcdir)  \
+               --package=python-avro
+       PYBUILD_DISABLE_python2=1               \
+       dh_auto_test                            \
+               --sourcedirectory=lang/py3      \
+               --package=python3-avro

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-avro.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to