Port run-tox.sh change in to run-cover.sh
cover can run on CentOS nodes, so we need this here too. Change-Id: I6bc4a69559ecd90f12700910c1438962690e9e54 Reviewed-on: https://review.openstack.org/29685 Reviewed-by: matthew wagoner <zxkuqyb@gmail.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
00d9391958
commit
d2de309f72
@ -22,6 +22,11 @@ export NOSE_COVER_HTML=1
|
||||
|
||||
venv=cover
|
||||
|
||||
# Workaround the combo of tox running setup.py outside of virtualenv
|
||||
# and RHEL having an old distribute. The next line can be removed
|
||||
# when either get fixed.
|
||||
python setup.py --version 2>/dev/null
|
||||
|
||||
tox -e$venv
|
||||
result=$?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user