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: Ib999d2ca6424351e18a61ccf14cf7588396d022a
This commit is contained in:
parent
2ebda956b4
commit
06e17e80fb
2
tox.ini
2
tox.ini
@ -34,7 +34,7 @@ deps = {[testenv]deps}
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user