projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36c378
)
Tweak runtests to be more helpful
author
Will Kahn-Greene
<willg@bluesock.org>
Mon, 12 Dec 2011 14:46:23 +0000
(09:46 -0500)
committer
Will 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
patch
|
blob
|
blame
|
history
diff --git
a/runtests.sh
b/runtests.sh
index 1dfbf09391e35d5ff606d9da589d6067c3a0cf0b..4265326c96cc65b67a8db329a62d9cec580eba4c 100755
(executable)
--- 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