eth-token-index/python/run_tests.sh

15 lines
198 B
Bash
Raw Permalink Normal View History

2021-10-24 15:58:01 +02:00
#!/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