From: Will Kahn-Greene Date: Mon, 12 Dec 2011 14:46:23 +0000 (-0500) Subject: Tweak runtests to be more helpful X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=528c8b8fabe7036b63c44d93adc9e7b068bbcd91;p=mediagoblin.git Tweak runtests to be more helpful If nose isn't installed, then runtests.sh says it can't find nosetests and exits, but doesn't tell you what you need to do to fix the situation. This fixes that. --- diff --git a/runtests.sh b/runtests.sh index 1dfbf093..4265326c 100755 --- a/runtests.sh +++ b/runtests.sh @@ -23,7 +23,8 @@ elif which nosetests > /dev/null; then echo "Using nosetests from \$PATH"; export NOSETESTS="nosetests"; else - echo "No nosetests found, exiting! X_X"; + echo "nosetests not found. X_X"; + echo "Please install 'nose'. Exiting."; exit 1 fi