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:
Masayuki Igawa 2019-05-21 17:04:28 +09:00
parent 6555d7c98d
commit fe0de68da5
No known key found for this signature in database
GPG Key ID: 290F53EDC899BF89
1 changed files with 3 additions and 3 deletions

View File

@ -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