aboutsummaryrefslogtreecommitdiffstats
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh36
1 files changed, 28 insertions, 8 deletions
diff --git a/test.sh b/test.sh
index 883271a4..ed6d4efc 100644
--- a/test.sh
+++ b/test.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-echo -n "Running tests for Python 2.3..."
-python2.3 setup.py -q test > /dev/null 2> /dev/null
+echo -n "Running tests for Python 2.4..."
+python2.4 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
exit $1
@@ -8,8 +8,8 @@ else
echo "Success"
fi
-echo -n "Running tests for Python 2.4..."
-python2.4 setup.py -q test > /dev/null 2> /dev/null
+echo -n "Running tests for Python 2.5..."
+python2.5 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
exit $1
@@ -17,8 +17,8 @@ else
echo "Success"
fi
-echo -n "Running tests for Python 2.5..."
-python2.5 setup.py -q test > /dev/null 2> /dev/null
+echo -n "Running tests for Python 2.6..."
+python2.6 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
exit $1
@@ -26,8 +26,8 @@ else
echo "Success"
fi
-echo -n "Running tests for Python 2.6..."
-python2.6 setup.py -q test > /dev/null 2> /dev/null
+echo -n "Running tests for Python 2.7..."
+python2.7 setup.py -q test > /dev/null 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
exit $1
@@ -45,3 +45,23 @@ else
echo "Success"
fi
+rm -rf build
+echo -n "Running tests for Python 3.2..."
+python3.2 setup.py -q test > /dev/null 2> /dev/null
+if [ $? -ne 0 ];then
+ echo "Failed"
+ exit $1
+else
+ echo "Success"
+fi
+
+rm -rf build
+echo -n "Running tests for Python 3.3..."
+python3.3 setup.py -q test > /dev/null 2> /dev/null
+if [ $? -ne 0 ];then
+ echo "Failed"
+ exit $1
+else
+ echo "Success"
+fi
+