diff --git a/tox.ini b/tox.ini index 199ee38575ae..b863680fcc1c 100644 --- a/tox.ini +++ b/tox.ini @@ -36,8 +36,11 @@ commands = bash tools/lintstack.sh # tests conflict with coverage. setenv = VIRTUAL_ENV={envdir} commands = - python setup.py testr --coverage \ - --testr-args='^(?!.*test.*coverage).*$' + coverage erase + python -m nova.openstack.common.lockutils python setup.py testr --coverage \ + --testr-args='(?=.*{posargs})^(?!.*test.*coverage).*$' + coverage combine + coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i [testenv:venv] commands = {posargs}

AltStyle によって変換されたページ (->オリジナル) /