diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-25 21:31:25 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-26 10:00:54 +0200 |
commit | 9138c280135811602ad75a2576795614ca601f37 (patch) | |
tree | f49109e216a2bb0fcf918d5405b71a17a25cc1a1 | |
parent | 67fdeeb9019e3bd0e132062ba833bd03e864c6f5 (diff) |
Gather coverage information during tests
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ *.pyc .noseids +.coverage gbp/gbp_version.py gbp_clone.py gbp_pq.py diff --git a/debian/control b/debian/control index 12ef49d..8982c11 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Guido Günther <agx@sigxcpu.org> Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 5), python (>> 2.6.6-3~), pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, python-nose, - bash-completion, perl, python-epydoc, + bash-completion, perl, python-epydoc, python-coverage, # For the testsuite git-core, bzip2, unzip Standards-Version: 3.9.2 diff --git a/debian/rules b/debian/rules index d4d6652..a2bc921 100755 --- a/debian/rules +++ b/debian/rules @@ -65,7 +65,7 @@ checks: links_stamp pychecker export GIT_AUTHOR_EMAIL=tests@example.com; \ export GIT_COMMITTER_NAME=$$GIT_AUTHOR_NAME; \ export GIT_COMMITTER_EMAIL=$$GIT_AUTHOR_EMAIL; \ - nosetests --exe --with-doctest + nosetests --exe --with-doctest --with-coverage --cover-package=gbp endif $(GBP_VERSION): debian/changelog |