blob: 55fc6376b20d07246aea7a4d3e79bc92464a61a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|