Fix tox to run functional instead of unit tests
Earlier tox -efunctional command was running unit tests instead of functional. This issue is fixed in this patch by explicitly pointing to functional test code path. Closes-Bug: #1778698 Change-Id: Ib98b667188fe3245a5ad4a140c0d3b2d3378ef84
This commit is contained in:
parent
f0d19e8e89
commit
7d0c22524a
12
tox.ini
12
tox.ini
@ -20,18 +20,16 @@ commands =
|
||||
stestr run --slowest {posargs}
|
||||
|
||||
[testenv:functional]
|
||||
setenv = OS_TEST_PATH=./tacker/tests/functional
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
setenv = {[testenv]setenv}
|
||||
commands =
|
||||
stestr --test-path=./tacker/tests/functional run --slowest {posargs}
|
||||
|
||||
[testenv:dsvm-functional]
|
||||
basepython = python2.7
|
||||
setenv = {[testenv]setenv}
|
||||
{[testenv:functional]setenv}
|
||||
deps =
|
||||
{[testenv:functional]deps}
|
||||
|
||||
commands =
|
||||
stestr run --slowest --concurrency 2 {posargs}
|
||||
stestr --test-path=./tacker/tests/functional run --slowest --concurrency 2 {posargs}
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user