Fix coverage option and execution

--coverage-package-name option was no longer supported by 'testr'[1].
This commit replaces from 'testr' to 'test' as coverage option.

[1] https://review.openstack.org/#/c/217847/

Change-Id: I0e3e5e837ee2f7275c489502700e91c15c7d44aa
This commit is contained in:
Yushiro FURUKAWA 2016-04-13 06:53:40 +09:00
parent 9eaad70080
commit c693f1e9bb
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ commands = flake8 {posargs}
setenv = VIRTUALENV={envdir}
LANGUAGE=en_US
commands =
python setup.py testr --coverage --coverage-package-name=ironic_lib --omit=ironic_lib/openstack/common/*.py {posargs}
python setup.py test --coverage --coverage-package-name=ironic_lib --omit=ironic_lib/openstack/common/*.py {posargs}
[testenv:venv]
commands = {posargs}