[python-click-plugins] 03/05: Add tests

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Wed Sep 23 22:55:42 UTC 2015


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

johanvdw-guest pushed a commit to branch master
in repository python-click-plugins.

commit 15ada6e44a02de6b152ea2010a4fe060d1ccb3ad
Author: Johan Van de Wauw <johan at vandewauw.be>
Date:   Thu Sep 24 00:44:08 2015 +0200

    Add tests
---
 debian/clean | 1 +
 debian/rules | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6350e98
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+.coverage
diff --git a/debian/rules b/debian/rules
index 6e4de3a..523a100 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 #setting locale explicitly is needed for running the tests using pbuilder
 export LC_ALL=C.UTF-8
 export LANG=C.UTF-8
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
 
 
 export PYBUILD_NAME=click-plugins

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-click-plugins.git



More information about the Pkg-grass-devel mailing list