From e79356b86adb5679c58ac6afd2cc6af7606bf50d Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 25 May 2012 15:27:03 -0400 Subject: 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 --- tox.ini | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index a3820cad1..fac0d7f96 100644 --- a/tox.ini +++ b/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 -- cgit