mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
166: Added quick script to run unit tests under both Python2.4 and Python2.5
This commit is contained in:
parent
d229a76474
commit
a7b3dde055
17
run-tests.bash
Executable file
17
run-tests.bash
Executable 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
|
Loading…
Reference in New Issue
Block a user