Skip to content

Commit

Permalink
fix coverage omit/include instructions
Browse files Browse the repository at this point in the history
This assumes coverage >= 3.4b1.  It only reports master/ and slave/,
omitting tests and templates.
  • Loading branch information
Dustin J. Mitchell committed Aug 22, 2010
1 parent b89a0f0 commit 95d4b52
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ exclude_lines =
if 0:
if __name__ == .__main__.:
if runtime.platformType == 'win32'

include =
master/*
slave/*

omit =
master/buildbot/test
master/buildbot/status/web/templates
slave/buildslave/test
# omit all of our tests
*/test/*
# templates cause coverage errors
*/templates/*

0 comments on commit 95d4b52

Please sign in to comment.