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:
parent
71a49735b0
commit
9afe196a57
4
tox.ini
4
tox.ini
@ -11,7 +11,7 @@ setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
stestr run --serial '{posargs}'
|
||||
stestr run --serial {posargs}
|
||||
stestr slowest
|
||||
oslo-config-generator --config-file=etc/vitrage/vitrage-config-generator.conf
|
||||
find . -type f -name "test-*.db" -delete
|
||||
@ -43,7 +43,7 @@ basepython = python3
|
||||
setenv =
|
||||
PYTHON=coverage run --source $project --parallel-mode
|
||||
commands =
|
||||
stestr run '{posargs}'
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
Loading…
Reference in New Issue
Block a user