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