166: Added quick script to run unit tests under both Python2.4 and Python2.5

This commit is contained in:
Jason Gerard DeRose 2008-08-14 21:05:14 +00:00
parent d229a76474
commit a7b3dde055

17
run-tests.bash Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# Hackish script to run unit tests under both Python 2.4 and 2.5
interpreters="python2.4 python2.5"
for name in $interpreters
do
executable="/usr/bin/$name"
if [[ -f $executable ]]
then
echo "[ $0: running unit tests under $name ]"
$executable /usr/bin/nosetests
else
echo "[ $0: $name not found ]"
fi
done