#!/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