Use "python -m coverage" instead of coverage cli
As requested by the Debian package maintainer, this makes the coverage report work more easily on Debian/Ubuntu Change-Id: Ibed9e164c89543b679393ee18ccdb4a15bdea6d7 Closes-Bug: #1241330
This commit is contained in:
parent
daf2a4f986
commit
f6e38b4040
@ -117,7 +117,7 @@ fi
|
||||
if [ "$coverage" == 1 ]; then
|
||||
echo "Generating coverage report in ./cover"
|
||||
python setup.py testr --coverage --slowest
|
||||
coverage report -m
|
||||
python -m coverage report --show-missing
|
||||
fi
|
||||
|
||||
exit $result
|
||||
|
Loading…
Reference in New Issue
Block a user