Set default value for tox tasks
This commit sets a default value '-' for the tox tasks. Users can run the tox tasks all, all-plugin and all-sitepackages without specifying regexes. Without this patch, users face such an error when users run the tox tasks without specifying regexes. Change-Id: Ia523895e8f66f25e9a4103cb9be1f1c3fc3f1b62
This commit is contained in:
parent
6555d7c98d
commit
fe0de68da5
6
tox.ini
6
tox.ini
|
@ -62,7 +62,7 @@ setenv =
|
|||
deps = {[tempestenv]deps}
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --regex {posargs}
|
||||
tempest run --regex {posargs:''}
|
||||
|
||||
[testenv:all-plugin]
|
||||
# DEPRECATED
|
||||
|
@ -82,7 +82,7 @@ commands =
|
|||
echo "WARNING: The all-plugin env is deprecated and will be removed"
|
||||
echo "WARNING Please use the 'all' environment for Tempest plugins."
|
||||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --regex {posargs}
|
||||
tempest run --regex {posargs:''}
|
||||
|
||||
[testenv:all-site-packages]
|
||||
sitepackages = True
|
||||
|
@ -93,7 +93,7 @@ setenv =
|
|||
deps = {[tempestenv]deps}
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --regex {posargs}
|
||||
tempest run --regex {posargs:''}
|
||||
|
||||
[testenv:full]
|
||||
envdir = .tox/tempest
|
||||
|
|
Loading…
Reference in New Issue