[Reproducible-builds] [dh-python] 71/183: pybuild.rst: add override_dh_auto_test example

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:21 UTC 2014


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

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit 123459b6dbeda98a5be1b5275ff91ff2eca1ff88
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Aug 8 01:03:10 2013 +0200

    pybuild.rst: add override_dh_auto_test example
---
 pybuild.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pybuild.rst b/pybuild.rst
index 783ff53..357cc3a 100644
--- a/pybuild.rst
+++ b/pybuild.rst
@@ -174,6 +174,12 @@ debian/rules file example::
  %:
   	dh $@ --with python2,python3 --buildsystem=pybuild
 
+overriding test command example::
+
+ override_dh_auto_test:
+ 	PYBUILD_SYSTEM=custom \
+ 	PYBUILD_TEST_ARGS="nosetests --with-doctest {build_dir}/" dh_auto_test
+
 SEE ALSO
 ========
 * dh_python2(1)

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



More information about the Reproducible-builds mailing list