Erase previously collected coverage for cybrog

In "tox -e cover" command, erase previously collected coverage data first.

Change-Id: Ie630b3c96857589dd8a5ff1009735d1d6aab41c7
Signed-off-by: wangyue_cmss <wangyue_yewu@cmss.chinamobile.com>
This commit is contained in:
wangyue_cmss 2021-07-01 16:44:22 +08:00
parent 30041a9d09
commit 20547d4fc1

View File

@ -77,6 +77,7 @@ commands = {posargs}
setenv =
PYTHON=coverage run --source cyborg --parallel-mode
commands =
coverage erase
stestr run {posargs}
coverage combine
coverage html -d cover