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: Idd0dd8b137f6cbf22cbb706645488271b0e5cee5
This commit is contained in:
parent
eae4d8ffda
commit
e544997f31
4
tox.ini
4
tox.ini
|
@ -21,7 +21,7 @@ commands = /bin/rm -f .testrepository/times.dbm
|
|||
basepython = python2.7
|
||||
setenv = OS_TEST_PATH=./dragonflow/tests/fullstack
|
||||
commands =
|
||||
ostestr --serial '{posargs}'
|
||||
ostestr --serial {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
|
@ -44,7 +44,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