Add performance test command into main tox.ini

Change-Id: Iffc5f3668f836dd54f42eaf88f022f59d07b7026
This commit is contained in:
Vladimir Kozhukalov 2016-07-28 16:34:42 +03:00
parent ea6b83a15d
commit d29b5195ad
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ commands =
py.test -vv --cleandb --junit-xml {toxinidir}/nailgun/nailgun.xml -m 'not performance' -n 4 {posargs:nailgun/test}
py.test -vv --junit-xml {toxinidir}/nailgun/extensions.xml {posargs:nailgun/extensions}
[testenv:performance]
commands =
bash -c "{[base]TOOLS}/env.sh prepare_nailgun_env"
py.test -vv --cleandb --junit-xml {toxinidir}/nailgun/nailgun.xml -m 'performance' -n 4 {posargs:nailgun/test}
[testenv:cleanup]
usedevelop = False
setenv = VIRTUAL_ENV={envdir}