From 9afe196a5734c0d375d8dbf83b8ba8f86b9760b3 Mon Sep 17 00:00:00 2001 From: confi-surya Date: Tue, 9 Oct 2018 14:36:29 +0530 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5d97dac4c..e32414601 100644 --- a/tox.ini +++ b/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