Use 'ostestr {posargs}' to run functional tests

This patch allows us to pass such params like concurrency, test name,
etc for ostestr to run functional tests.

Change-Id: Icb17309a148dfebf6b679107bab1514ab3dec729
Related-Bug: #1638302
This commit is contained in:
Ivan Kolodyazhny 2016-11-01 14:54:08 +01:00
parent a0b98b87ff
commit 2324391aaf

View File

@ -39,6 +39,7 @@ commands=
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:functional]
commands = ostestr {posargs}
setenv =
OS_TEST_PATH = ./cinderclient/tests/functional
OS_VOLUME_API_VERSION = 2