Merge "Remove single quotes from posargs on stestr run commands"
This commit is contained in:
commit
912d6cbe0b
12
tox.ini
12
tox.ini
|
@ -27,14 +27,14 @@ passenv = OS_DEBUG GENERATE_HASHES
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
stestr run '{posargs}'
|
stestr run {posargs}
|
||||||
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
|
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
[testenv:py35]
|
[testenv:py35]
|
||||||
commands =
|
commands =
|
||||||
{[testenv]commands}
|
{[testenv]commands}
|
||||||
stestr run --blacklist-file=tests-py3.txt '{posargs}'
|
stestr run --blacklist-file=tests-py3.txt {posargs}
|
||||||
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
|
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
|
||||||
|
|
||||||
[testenv:py36]
|
[testenv:py36]
|
||||||
|
@ -78,7 +78,7 @@ commands =
|
||||||
# special way. See the following for more details.
|
# special way. See the following for more details.
|
||||||
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
|
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
|
||||||
# https://gabbi.readthedocs.io/en/latest/#purpose
|
# https://gabbi.readthedocs.io/en/latest/#purpose
|
||||||
stestr --test-path=./nova/tests/functional --group-regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+) run '{posargs}'
|
stestr --test-path=./nova/tests/functional --group_regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+) run {posargs}
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
# TODO(gcb) Merge this into [testenv:functional] when functional tests are gating
|
# TODO(gcb) Merge this into [testenv:functional] when functional tests are gating
|
||||||
|
@ -97,7 +97,7 @@ commands =
|
||||||
# special way. See the following for more details.
|
# special way. See the following for more details.
|
||||||
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
|
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
|
||||||
# https://gabbi.readthedocs.io/en/latest/#purpose
|
# https://gabbi.readthedocs.io/en/latest/#purpose
|
||||||
stestr --test-path=./nova/tests/functional --group-regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+) run '{posargs}'
|
stestr --test-path=./nova/tests/functional --group_regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+) run {posargs}
|
||||||
|
|
||||||
[testenv:api-samples]
|
[testenv:api-samples]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
@ -106,7 +106,7 @@ setenv = {[testenv]setenv}
|
||||||
PYTHONHASHSEED=0
|
PYTHONHASHSEED=0
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
stestr --test-path=./nova/tests/functional/api_sample_tests run '{posargs}'
|
stestr --test-path=./nova/tests/functional/api_sample_tests run {posargs}
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
|
@ -123,7 +123,7 @@ setenv = {[testenv]setenv}
|
||||||
commands =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
stestr run '{posargs}'
|
stestr run {posargs}
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage html -d cover
|
coverage html -d cover
|
||||||
coverage xml -o cover/coverage.xml
|
coverage xml -o cover/coverage.xml
|
||||||
|
|
Loading…
Reference in New Issue