diff options
| author | Monty Taylor <mordred@inaugust.com> | 2012-05-25 15:27:03 -0400 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2012-05-25 15:36:50 -0400 |
| commit | e79356b86adb5679c58ac6afd2cc6af7606bf50d (patch) | |
| tree | 26e6b8f663042d313e834d6f7bab4a347eaf3db4 | |
| parent | a75486d6240cd9291face18108326eafd6273acd (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.ini | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |
