summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@enovance.com>2013-11-26 22:16:56 +0100
committerChmouel Boudjnah <chmouel@enovance.com>2013-11-26 22:16:56 +0100
commit730883957d6da73794eee60bc33b89ec468c6a1a (patch)
tree01a9b3736af97d6907191e86b6ea1da65ea2201f
parentb207aaca07733b1c5719e182c244906d20bf28b9 (diff)
downloadswift-bench-730883957d6da73794eee60bc33b89ec468c6a1a.tar.gz
Use nosetests for coverage in tox.ini
I can't seem to figure out how to have testr and coverage working properly without pbr so let's use nosetests for it. Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index dd97529..6c758fa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,7 +21,8 @@ commands =
commands = {posargs}
[testenv:cover]
-commands = python setup.py testr --coverage
+setenv = NOSE_WITH_COVERAGE=1
+commands = nosetests {posargs}
[tox:jenkins]
downloadcache = ~/cache/pip