eth-contract-registry/python/run_tests.sh

15 lines
203 B
Bash
Raw Normal View History

2021-06-28 09:29:37 +02:00
#!/bin/bash
set -e
set -x
2021-10-24 16:11:54 +02:00
default_pythonpath=$PYTHONPATH:.
export PYTHONPATH=${default_pythonpath:-.}
2023-03-26 07:46:37 +02:00
for f in `ls tests/test_*.py`; do
2021-10-24 16:11:54 +02:00
python $f
if [ $? -gt 0 ]; then
exit 1
fi
done
2021-06-28 09:29:37 +02:00
set +x
set +e