chaind-eth

Queue server for ethereum
Info | Log | Files | Refs | README | LICENSE

run_coverage.sh (260B)


      1 #!/bin/bash
      2 
      3 #set -e
      4 #set -x
      5 #export PYTHONPATH=${PYTHONPATH:.}
      6 #for f in `ls tests/*.py`; do
      7 #	python $f
      8 #done
      9 #set +x
     10 #set +e
     11 COVERAGE_MINIMUM=${COVERAGE_MINIMUM:-90}
     12 coverage run -m unittest tests/test_*.py
     13 coverage report -m --fail-under $COVERAGE_MINIMUM