From f6e38b40402225f689221489fdd5b8f739778166 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Fri, 18 Oct 2013 17:29:31 +0100 Subject: [PATCH] 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 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index ab92055e50..01d0c3dc97 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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