Files
python-solumclient/coverage.sh
Noorul Islam K M 7494e90e16 Add bash driver for coverage tool
The script is copied from solum project and tox.ini is adjusted to use
the same.

Change-Id: I712160432950b54eef4724007be5cd442035937a
2013-12-22 22:01:02 +05:30

9 lines
198 B
Bash
Executable File

#!/bin/sh
args=
if [ -n "$@" ] ; then
args="-t $@"
fi
python setup.py testr --coverage --slowest "$args"
python -m coverage report --show-missing
echo "Coverage generated, see cover/index.html"