Support tox test case single run
For example "tox -epy27 -- heat.tests.test_hot.StackParametersTest" will run correctly with this patch. Otherwise the same command line still run all. Change-Id: Ib108a6f5c319c3060475a2daa47e8e35441a840e
This commit is contained in:
parent
2467649f6d
commit
e00e23604c
6
tox.ini
6
tox.ini
|
@ -13,13 +13,13 @@ install_command = pip install {opts} {packages}
|
|||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='^(?!heat_integrationtests) {posargs}'
|
||||
python setup.py testr --slowest --testr-args='^(?!heat_integrationtests){posargs}'
|
||||
|
||||
whitelist_externals = bash
|
||||
|
||||
[testenv:integration]
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='--concurrency=1 ^heat_integrationtests {posargs}'
|
||||
python setup.py testr --slowest --testr-args='--concurrency=1 ^heat_integrationtests{posargs}'
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
|
@ -32,7 +32,7 @@ commands = {posargs}
|
|||
|
||||
[testenv:cover]
|
||||
commands =
|
||||
python setup.py testr --coverage --testr-args='^(?!heat_integrationtests) {posargs}'
|
||||
python setup.py testr --coverage --testr-args='^(?!heat_integrationtests){posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue