#!/bin/bash

MINCOVERAGE=88

coverage erase || exit 1
for i in test_*py ; do PYTHONPATH=.. coverage run -a --source ../faucet $i || exit 1 ; done
coverage report -m --fail-under=$MINCOVERAGE || exit 1

#!/bin/bash

MINCOVERAGE=90

coverage erase || exit 1
for i in test_*py ; do PYTHONPATH=.. coverage run -a --source ../faucet $i || exit 1 ; done
coverage report -m --fail-under=$MINCOVERAGE || exit 1

Increase minimum test coverage to 90%.
Increase minimum test coverage to 90%.
