Changes the run_tests.sh and /tools/install_venv.py scripts to be more user-friendly and not depend on PIP while not in the virtual environment. Running run_tests.sh should not just work out of the box on all systems supporting easy_install...

This commit is contained in:
jaypipes@gmail.com
2010-08-10 12:44:38 -04:00
parent b5802d980e
commit 60ce327013

View File

@@ -6,8 +6,7 @@ with_venv=tools/with_venv.sh
if [ -e ${venv} ]; then
${with_venv} python run_tests.py $@
else
echo "You need to install the Nova virtualenv before you can run this."
echo ""
echo "Please run tools/install_venv.py"
exit 1
echo "No virtual environment found...creating one"
python tools/install_venv.py
${with_venv} python run_tests.py $@
fi