Don't quote {posargs} in tox.ini

Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: Ia70c6f9d6b1efb8bb030673284e0d364c3b5ff0c
This commit is contained in:
confi-surya 2018-10-09 14:36:29 +05:30
parent 71a49735b0
commit 9afe196a57

View File

@ -11,7 +11,7 @@ setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
commands = commands =
stestr run --serial '{posargs}' stestr run --serial {posargs}
stestr slowest stestr slowest
oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf
find . -type f -name "test-*.db" -delete find . -type f -name "test-*.db" -delete
@ -43,7 +43,7 @@ basepython = python3
setenv = setenv =
PYTHON=coverage run --source $project --parallel-mode PYTHON=coverage run --source $project --parallel-mode
commands = commands =
stestr run '{posargs}' stestr run {posargs}
coverage combine coverage combine
coverage html -d cover coverage html -d cover
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml