Properly exclude tests/output/ from code coverage.
This commit is contained in:
parent
f110abb806
commit
983f0ad5a0
2 changed files with 5 additions and 3 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ansible-test now properly excludes the ``tests/output/`` directory from code coverage
|
|
@ -111,11 +111,11 @@ include =
|
|||
# temporary work-around for import sanity test
|
||||
coverage_config += '''
|
||||
include =
|
||||
%s/*
|
||||
%s/*
|
||||
|
||||
omit =
|
||||
*/test/results/*
|
||||
''' % data_context().content.root
|
||||
%s/*
|
||||
''' % (data_context().content.root, os.path.join(data_context().content.root, data_context().content.results_path))
|
||||
else:
|
||||
coverage_config += '''
|
||||
include =
|
||||
|
|
Loading…
Reference in a new issue