From d2de309f72940b4cbe98d79c38d7f9aa969f486c Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 19 May 2013 00:39:23 -0400 Subject: [PATCH] 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 Reviewed-by: James E. Blair Approved: Clark Boylan Reviewed-by: Clark Boylan Tested-by: Jenkins --- modules/jenkins/files/slave_scripts/run-cover.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/jenkins/files/slave_scripts/run-cover.sh b/modules/jenkins/files/slave_scripts/run-cover.sh index 832be2c2e0..02dac0916f 100755 --- a/modules/jenkins/files/slave_scripts/run-cover.sh +++ b/modules/jenkins/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=$?