chaind/run_tests.sh

16 lines
236 B
Bash
Raw Normal View History

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