blob: 06565ae073d2657dc43f4e0a2848f33b4437fdcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#!/bin/sh
echo -n "Running tests with Python 2.5... "
python2.5 -Wd runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python2.5 -Wd runtests.py
exit $?
else
echo Success
fi
echo -n "Running tests with Python 2.6... "
python2.6 -Wd runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python2.6 -Wd runtests.py
exit $?
else
echo Success
fi
echo -n "Running tests with Python 2.7... "
python2.7 -Wd -bb -3 runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python2.7 -Wd -bb -3 runtests.py
exit $?
else
echo Success
fi
if [ $? -ne 0 ];then
echo Failed
exit $?
else
echo "Good job, commit now! (or add tests)"
fi
|