summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-05-25 15:27:03 -0400
committerMonty Taylor <mordred@inaugust.com>2012-05-25 15:36:50 -0400
commite79356b86adb5679c58ac6afd2cc6af7606bf50d (patch)
tree26e6b8f663042d313e834d6f7bab4a347eaf3db4
parenta75486d6240cd9291face18108326eafd6273acd (diff)
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
-rw-r--r--tox.ini7
1 files 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