Skip to content

Commit

Permalink
Merge "Remove single quotes from posargs on stestr run commands"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Feb 17, 2018
2 parents ca9dd6e + 3b673dd commit 912d6cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tox.ini
Expand Up @@ -27,14 +27,14 @@ passenv = OS_DEBUG GENERATE_HASHES
[testenv:py27]
commands =
{[testenv]commands}
stestr run '{posargs}'
stestr run {posargs}
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
stestr slowest

[testenv:py35]
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'

[testenv:py36]
Expand Down Expand Up @@ -78,7 +78,7 @@ commands =
# special way. See the following for more details.
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
# 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

# TODO(gcb) Merge this into [testenv:functional] when functional tests are gating
Expand All @@ -97,7 +97,7 @@ commands =
# special way. See the following for more details.
# http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests
# 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]
usedevelop = True
Expand All @@ -106,7 +106,7 @@ setenv = {[testenv]setenv}
PYTHONHASHSEED=0
commands =
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

[testenv:genconfig]
Expand All @@ -123,7 +123,7 @@ setenv = {[testenv]setenv}
commands =
coverage erase
find . -type f -name "*.pyc" -delete
stestr run '{posargs}'
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
Expand Down

0 comments on commit 912d6cb

Please sign in to comment.