summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c73031c2..92da11b7 100644
--- a/Makefile
+++ b/Makefile
@@ -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.*