Move coverage reports to cover
directory
Zuul's fetch-coverage-output role [1] expects coverage reports in `cover` directory. This commit updates the target directory in the `run_test.sh` script. [1] http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/roles/fetch-coverage-output Change-Id: I5375e6136222aa1be4dce207e4cc9e1d0ed0f13c
This commit is contained in:
parent
c48050cc99
commit
a75199f21c
@ -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.*
|
||||
|
Loading…
Reference in New Issue
Block a user