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: Ia3b5e60cc66a9f274f03327ce031c65a12bf1529
This commit is contained in:
parent
be53aae4c2
commit
dcd37739dc
4
tox.ini
4
tox.ini
|
@ -14,7 +14,7 @@ whitelist_externals = sh
|
|||
rm
|
||||
commands = find {toxinidir} -type f -name "*.py[c|o]" -delete
|
||||
rm -f .testrepository/times.dbm
|
||||
stestr run '{posargs}'
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:fullstack]
|
||||
basepython = python2.7
|
||||
|
@ -44,7 +44,7 @@ commands = {posargs}
|
|||
basepython = python3
|
||||
commands =
|
||||
rm -f .testrepository/times.dbm
|
||||
python setup.py test --coverage --testr-args='{posargs}' \
|
||||
python setup.py test --coverage --testr-args={posargs} \
|
||||
--coverage-package-name=kuryr_kubernetes
|
||||
coverage report
|
||||
|
||||
|
|
Loading…
Reference in New Issue