summaryrefslogtreecommitdiff
path: root/.coveragerc
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-06 21:40:43 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-06 21:40:43 -0400
commit87423c55bc940f60107b48cbbe275b7c0be32389 (patch)
tree953415dec7376e148a0d0503ceda1f2ce1d8edef /.coveragerc
parent42294fe64e685f311a0799b49cfc1c1000a8fd7d (diff)
downloadbuildstream-87423c55bc940f60107b48cbbe275b7c0be32389.tar.gz
.coveragerc: Indicate that we use multiprocessing
The coverage reports do not include codepaths reached by forked processes with multiprocessing unless we configure this, now we have a more accurate report (and up from 69% to 73% !)
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc12
1 files changed, 10 insertions, 2 deletions
diff --git a/.coveragerc b/.coveragerc
index 8e1dd1312..b33588362 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -1,6 +1,14 @@
[run]
-omit = buildstream/_profile.py
-branch = True
+concurrency = multiprocessing
+source = buildstream
+omit =
+ # Omit profiling helper module
+ buildstream/_profile.py
+
+ # Omit stuff from the system which might accidentally creep in
+ /usr/*
+ /home/*
+ /root/*
[report]
show_missing = True