chainsyncer

Blockchain syncer driver
Info | Log | Files | Refs | LICENSE

run_tests.sh (299B)


      1 #!/bin/bash
      2 
      3 set -e
      4 set -x
      5 path=${PYTHONPATH:-.}
      6 export PYTHONPATH=$path:.
      7 >&2 echo using pythonpath $PYTHONPATH
      8 for f in `ls tests/*.py`; do
      9 	python $f
     10 	if [ $? -gt 0 ]; then
     11 		exit
     12 	fi
     13 done
     14 
     15 for f in `ls tests/store/test_*_*.py`; do
     16 	python $f
     17 	if [ $? -gt 0 ]; then
     18 		exit
     19 	fi
     20 done
     21 set +x
     22 set +e