#!/bin/bash set +e set +x export PYTHONPATH={$PYTHONPATH:-.} for f in `ls tests/*.py`; do python $f if [ $? -gt 0 ]; then exit 1 fi done set -x set -e