aboutsummaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorWill Kahn-Greene <willg@bluesock.org>2011-12-12 09:46:23 -0500
committerWill Kahn-Greene <willg@bluesock.org>2011-12-12 09:46:23 -0500
commit528c8b8fabe7036b63c44d93adc9e7b068bbcd91 (patch)
tree37e3a28ba6a014098586d4f83a27a1606c2d4156 /runtests.sh
parentc36c3782737ef6d27137275ab98dbec49d7cd9ba (diff)
downloadmediagoblin-528c8b8fabe7036b63c44d93adc9e7b068bbcd91.tar.lz
mediagoblin-528c8b8fabe7036b63c44d93adc9e7b068bbcd91.tar.xz
mediagoblin-528c8b8fabe7036b63c44d93adc9e7b068bbcd91.zip
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.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh3
1 files changed, 2 insertions, 1 deletions
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