diff --git a/files/slave_scripts/run-cover.sh b/files/slave_scripts/run-cover.sh index 832be2c..02dac09 100755 --- a/files/slave_scripts/run-cover.sh +++ b/files/slave_scripts/run-cover.sh @@ -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=$?