Properly exclude tests/output/ from code coverage.

pull/62114/head
Matt Clay 5 years ago
parent f110abb806
commit 983f0ad5a0

@ -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 # temporary work-around for import sanity test
coverage_config += ''' coverage_config += '''
include = include =
%s/* %s/*
omit = omit =
*/test/results/* %s/*
''' % data_context().content.root ''' % (data_context().content.root, os.path.join(data_context().content.root, data_context().content.results_path))
else: else:
coverage_config += ''' coverage_config += '''
include = include =

Loading…
Cancel
Save