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: Iec4de0522bcf2a7a81ce6f5ee5aa96ec917588b1
This commit is contained in:
Nguyen Van Trung 2018-10-09 09:58:12 +07:00
parent 99e26fd9b4
commit 2543342a4d
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ commands =
/usr/bin/find . -type f -name "*.py[c|o]" -delete
rm -f .testrepository/times.dbm
coverage erase
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
@ -30,7 +30,7 @@ deps =
diff_cover
commands =
coverage erase
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
@ -141,7 +141,7 @@ setenv =
OS_TEST_PATH={toxinidir}/barbican/cmd/functionaltests
commands =
/usr/bin/find . -type f -name "*.py[c|o]" -delete
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml