diff --git a/python/run_tests.sh b/python/run_tests.sh new file mode 100644 index 0000000..fed6f11 --- /dev/null +++ b/python/run_tests.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e +set -x +default_pythonpath=$PYTHONPATH:. +export PYTHONPATH=${default_pythonpath:-.} +for f in `ls tests/*.py`; do + python $f + if [ $? -gt 0 ]; then + exit 1 + fi +done +set +x +set +e