ge-capped-token/python/run_tests.sh

16 lines
197 B
Bash
Raw Normal View History

2023-05-30 18:42:53 +02:00
#!/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