Tweak runtests to be more helpful
authorWill Kahn-Greene <willg@bluesock.org>
Mon, 12 Dec 2011 14:46:23 +0000 (09:46 -0500)
committerWill Kahn-Greene <willg@bluesock.org>
Mon, 12 Dec 2011 14:46:23 +0000 (09:46 -0500)
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.

runtests.sh

index 1dfbf09391e35d5ff606d9da589d6067c3a0cf0b..4265326c96cc65b67a8db329a62d9cec580eba4c 100755 (executable)
@@ -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