mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
18 lines
366 B
Bash
18 lines
366 B
Bash
|
#!/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
|