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: Iccbd680731592abab4980a51aa97c60d6ef95005
This commit is contained in:
Nguyen Van Trung 2018-10-09 10:06:57 +07:00
parent fb2f63874a
commit d60514f86e
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete
stestr run '{posargs}'
stestr run {posargs}
stestr slowest
whitelist_externals =
@ -58,7 +58,7 @@ setenv =
commands =
coverage erase
find {toxinidir} -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml