Switched remaining jobs to ostestr
This will, among other things, guarantee to us that if all tests are skipped, the targets will actually fail instead of silently succeeding. The only target that can't switch to ostestr is cover, but that's ok because it's effectively duplicated by other unit test jobs to guarantee that it runs some tests. Change-Id: I837c2d9d76f0d48a949106bf12bb91ab2c041fa3 Related-Bug: #1683249
This commit is contained in:
parent
38784329a0
commit
f941ca2c7c
4
tox.ini
4
tox.ini
@ -24,7 +24,7 @@ commands =
|
||||
[testenv:functional]
|
||||
setenv = OS_TEST_PATH=./neutron_dynamic_routing/tests/functional
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
ostestr --slowest '{posargs}'
|
||||
|
||||
[testenv:api]
|
||||
sitepackages=True
|
||||
@ -33,7 +33,7 @@ setenv =
|
||||
OS_TESTR_CONCURRENCY=1
|
||||
TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc}
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
ostestr --slowest '{posargs}'
|
||||
|
||||
[testenv:dsvm-functional]
|
||||
setenv =
|
||||
|
Loading…
Reference in New Issue
Block a user