run_tests.sh (236B)
1 #!/bin/bash 2 3 set +e 4 set +x 5 default_pythonpath=$PYTHONPATH:. 6 export PYTHONPATH=${default_pythonpath:-.} 7 >&2 echo using pythonpath $PYTHONPATH 8 for f in `ls tests/*.py`; do 9 python $f 10 if [ $? -gt 0 ]; then 11 exit 1 12 fi 13 done 14 set -x 15 set -e