diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-05-09 23:14:29 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-05-10 10:45:49 +0200 |
commit | 76849d97274b9c9efa76a85491c5c8d8bdcc1b15 (patch) | |
tree | bf3fea85ef69270c677999d344b40a8c048e9991 /Makefile | |
parent | f91c72117cad845835d1002688192d7aece786f6 (diff) |
Makefile: add coverage rules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,3 +16,11 @@ dist-tarball: check: PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --repeat + +coverage: + rm -rf _trial_temp + PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial --coverage test cerbero + make show-coverage + +show-coverage: + python tools/show-coverage.py _trial_temp/coverage/cerbero.* |