summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVieri <15050873171@163.com>2018-10-09 13:45:13 +0000
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2019-03-22 09:26:35 -0400
commit9789b03bb2c17e9f23912f9efc7ca4a2a17e3740 (patch)
tree61e86e97c3d0b815cd46e56e1180620b82b9d01e
parentd1b01aa2bdc2b4ce3bc37106738def33e1916b03 (diff)
downloadpython-cinderclient-9789b03bb2c17e9f23912f9efc7ca4a2a17e3740.tar.gz
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: Ieeae90ecbd4f89cbff0513dcd949a0c1a8e8d8c1 (cherry picked from commit 3b954791e4ebbaa1ed0721a441698f9acb56c7d2)
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 43f5947..1d6be00 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,7 +20,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = find . -type f -name "*.pyc" -delete
- stestr run '{posargs}'
+ stestr run {posargs}
stestr slowest
whitelist_externals = find
@@ -70,7 +70,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:functional]
basepython = python3
-commands = stestr run '{posargs}'
+commands = stestr run {posargs}
setenv =
{[testenv]setenv}
OS_TEST_PATH = ./cinderclient/tests/functional