ge-capped-token/python/run_tests.sh
2023-05-30 17:42:53 +01:00

16 lines
197 B
Bash
Executable File

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