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: I63fad8f1110702a12a3a84a34c34c46d800b06be
This commit is contained in:
parent
09356e0b9f
commit
15c6877237
2
tox.ini
2
tox.ini
|
@ -41,7 +41,7 @@ description = Calculates code coverage
|
||||||
setenv =
|
setenv =
|
||||||
PYTHON=coverage run --source monasca_events_api --parallel-mode
|
PYTHON=coverage run --source monasca_events_api --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