summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorting.wang <ting.wang@easystack.cn>2016-02-18 23:18:44 +0800
committerting.wang <ting.wang@easystack.cn>2016-02-18 23:18:44 +0800
commit145fabe7dd14702db040d16722798101da383c6f (patch)
tree14117a3bdd59fe99f49facdebcd017fd148bb1d9 /tox.ini
parentf13e5ab039e937d9db06cccf8401967c1e1baec4 (diff)
Use ostestr to run unit test
The ostestr command provides a wrapper around the testr command. By default it also has output that is much more useful for OpenStack’s test including lists of all and failed tests and lists of the 10 slowest tests. ref: http://docs.openstack.org/developer/os-testr/ostestr.html Change-Id: If005d1987b2a4e586cf35f0cc1d07739f84235d2
Notes
Notes (review): Code-Review+2: Valeriy Ponomaryov <vponomaryov@mirantis.com> Code-Review+2: Clinton Knight <cknight@netapp.com> Workflow+1: Clinton Knight <cknight@netapp.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 22 Feb 2016 23:23:09 +0000 Reviewed-on: https://review.openstack.org/281910 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 69786c8..9effe92 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ deps = -r{toxinidir}/requirements.txt
12 -r{toxinidir}/test-requirements.txt 12 -r{toxinidir}/test-requirements.txt
13commands = 13commands =
14 find . -type f -name "*.pyc" -delete 14 find . -type f -name "*.pyc" -delete
15 python setup.py testr --testr-args='{posargs}' 15 ostestr {posargs}
16 16
17[testenv:releasenotes] 17[testenv:releasenotes]
18commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \ 18commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \