Fix location for coverage reports

The gate job expects the report to exist under
the "cover" directory by default, and not "reports".

[1] https://git.io/fAfx9

Change-Id: Iadbedcca91f4a9e8a12b3d3b2026af37ff4d0b21
(cherry picked from commit b8ffef20fb)
(cherry picked from commit 9dec93c7d5)
This commit is contained in:
Goutham Pacha Ravi 2018-08-20 11:17:45 -07:00
parent 51ce20809a
commit 9696ca30c4
1 changed files with 1 additions and 1 deletions

View File

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