Merge "Move coverage reports to `cover` directory"

This commit is contained in:
Zuul 2018-04-09 08:31:42 +00:00 committed by Gerrit Code Review
commit 9a7012289e
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ function run_tests_all {
echo "Generating coverage reports"
${command_wrapper} ${COVERAGE_CMD} combine
${command_wrapper} ${COVERAGE_CMD} xml -i --omit='monitoring/**/tests.py,monitoring/test/*,**/shiningpanda/**,/usr*,setup.py,*egg*,.venv/*'
${command_wrapper} ${COVERAGE_CMD} html -i --omit='monitoring/**/tests.py,monitoring/test/*,**/shiningpanda/**,/usr*,setup.py,*egg*,.venv/*' -d reports
${command_wrapper} ${COVERAGE_CMD} html -i --omit='monitoring/**/tests.py,monitoring/test/*,**/shiningpanda/**,/usr*,setup.py,*egg*,.venv/*' -d cover
fi
# Remove the leftover coverage files from the -p flag earlier.
rm -f .coverage.*