contract-registry

Ethereum Smart Contract key-value registry
Log | Files | Refs

commit 7d27faa960efcf68d025c36bb756b4f4b24f53f5
parent 06530e3ffa791100e414274b768fd6f4502e5a54
Author: nolash <dev@holbrook.no>
Date:   Sun, 24 Oct 2021 16:11:54 +0200

Improve test runner

Diffstat:
Mpython/run_tests.sh | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/python/run_tests.sh b/python/run_tests.sh @@ -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