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:
parent
30041a9d09
commit
20547d4fc1
1
tox.ini
1
tox.ini
@ -77,6 +77,7 @@ commands = {posargs}
|
|||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source cyborg --parallel-mode
|
PYTHON=coverage run --source cyborg --parallel-mode
|
||||||
commands =
|
commands =
|
||||||
|
coverage erase
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
|
Loading…
Reference in New Issue
Block a user