blob: 41104203dcca8565a881e7b8864d94311e4027ca (
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 3.1... "
python3.1 -Wd runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python3.1 -Wd runtests.py
exit $?
else
echo Success
fi
echo -n "Running tests with Python 3.2... "
python3.2 -Wd runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python3.2 -Wd runtests.py
exit $?
else
echo Success
fi
echo -n "Running tests with Python 3.3... "
python3.3 -Wd runtests.py -q
if [ $? -ne 0 ];then
echo Failed, re-running
python3.3 -Wd runtests.py
exit $?
else
echo Success
fi
if [ $? -ne 0 ];then
echo Failed
exit $?
else
echo "Good job, commit now! (or add tests)"
fi
|