Merge "Switch from ostestr to stestr"

This commit is contained in:
Jenkins 2017-10-15 22:00:51 +00:00 committed by Gerrit Code Review
commit 66fde42d10
2 changed files with 8 additions and 5 deletions

View File

@ -103,10 +103,13 @@ Or all tests in the test_volume.py file::
You may also use regular expressions to run any matching tests:: You may also use regular expressions to run any matching tests::
tox -epy27 -- -r test_volume tox -epy27 -- test_volume
For more information on these options and how to run tests, please see the Additionally, when running a single test, or test-file, the `-n` argument is no
`ostestr documentation <https://docs.openstack.org/os-testr/latest/>`_. longer required, however it may perform faster if included.
For more information on these options and details about stestr, please see the
`stestr documentation <http://stestr.readthedocs.io/en/latest/MANUAL.html>`_.
Gotchas Gotchas
------- -------

View File

@ -18,13 +18,13 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
# By default ostestr will set concurrency # By default stestr will set concurrency
# to ncpu, to specify something else use # to ncpu, to specify something else use
# the concurrency=<n> option. # the concurrency=<n> option.
# call ie: 'tox -epy27 -- --concurrency=4' # call ie: 'tox -epy27 -- --concurrency=4'
commands = commands =
find . -type f -name "*.pyc" -delete find . -type f -name "*.pyc" -delete
ostestr {posargs} stestr run '{posargs}'
whitelist_externals = whitelist_externals =
bash bash