Run coverage tests via xcover for jenkins.
In the jenkins jobs, we need to run coverage with xunit output so that jenkins can parse it. Change-Id: Ie4cfec6f89d6b37554b5345cde92f982397915e2
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -15,8 +15,8 @@ downloadcache = ~/cache/pip
|
||||
deps = pep8==1.1
|
||||
commands = /bin/bash run_tests.sh -N --pep8
|
||||
|
||||
[testenv:coverage]
|
||||
commands = /bin/bash run_tests.sh -N -P --coverage
|
||||
[testenv:cover]
|
||||
commands = /bin/bash run_tests.sh -N -P --cover-package=nova --cover-erase --with-xcoverage
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
@@ -30,8 +30,7 @@ basepython = python2.7
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
|
||||
[testenv:jenkinscover]
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
commands = /bin/bash run_tests.sh -N --coverage
|
||||
commands = /bin/bash run_tests.sh -N -P --cover-package=nova --cover-erase --with-xcoverage
|
||||
|
||||
[testenv:jenkinsvenv]
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
|
||||
Reference in New Issue
Block a user