Cleanup running of osprofiler tests

Now that we're using stestr directly we have more flexibility on how we
run the osprofiler tests. This patch makes it run second without test
discovery and combines the subunit output with the results of the
previous full test run.

Change-Id: I49db096dd3056a4fd2ec6e6603b59e70a8d25480
This commit is contained in:
Matthew Treinish 2017-09-13 17:22:19 -04:00
parent d083eceea3
commit 531abe778a
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -29,14 +29,15 @@ passenv = OS_DEBUG GENERATE_HASHES
[testenv:py27]
commands =
{[testenv]commands}
env TEST_OSPROFILER=1 stestr run 'nova.tests.unit.test_profiler'
stestr run {posargs}
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
[testenv:py35]
commands =
{[testenv]commands}
env TEST_OSPROFILER=1 stestr run 'nova.tests.unit.test_profiler'
bash tools/pretty_tox3.sh '{posargs}'
env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler'
[testenv:pep8]
basepython = python2.7