mirror of
git://holbrook.no/eth-contract-registry
synced 2024-12-22 04:17:32 +01:00
Improve test runner
This commit is contained in:
parent
06530e3ffa
commit
7d27faa960
@ -2,12 +2,13 @@
|
||||
|
||||
set -e
|
||||
set -x
|
||||
#for f in `ls tests/*.py`; do
|
||||
#python $f
|
||||
# if [ $? -gt 0 ]; then
|
||||
# exit 1
|
||||
# fi
|
||||
#done
|
||||
pytest -s -v -x ./tests
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user