add --slowest flag to testr

with --slowest flag, the slowest unit test cases will be printed,
which is useful to check performance issue.

Change-Id: I282845967877ed9298ca6f7f8bd6699a118fec1a
This commit is contained in:
ZhiQiang Fan
2015-05-04 16:07:31 +08:00
parent 39b7f963f5
commit 8994d901ad

View File

@@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands =