Scope coverage report generation to nova module.
Coverage report generation was not using --include filters. This resulted in generating a report that included all external dependencies. Some of these may include problematic characters for utf8 decoding. In the odd case this was found, coverage would fail with a UnicodeDecodeError. Fixes bug #987077. Change-Id: I276698e65ac1037972209a406058168433cd826b
This commit is contained in:
parent
f05841caf3
commit
bcb53dfc6a
|
@ -18,3 +18,4 @@ tools/conf/nova.conf*
|
|||
cover/*
|
||||
dist/*
|
||||
.coverage
|
||||
covhtml
|
||||
|
|
1
Authors
1
Authors
|
@ -160,6 +160,7 @@ Paul McMillan <paul.mcmillan@nebula.com>
|
|||
Paul Voccio <paul@openstack.org>
|
||||
Peng Yong <ppyy@pubyun.com>
|
||||
Philip Knouff <philip.knouff@mailtrust.com>
|
||||
Renier Morales <renierm@us.ibm.com>
|
||||
Renuka Apte <renuka.apte@citrix.com>
|
||||
Ricardo Carrillo Cruz <emaildericky@gmail.com>
|
||||
Rick Clark <rick@openstack.org>
|
||||
|
|
|
@ -168,5 +168,5 @@ fi
|
|||
|
||||
if [ $coverage -eq 1 ]; then
|
||||
echo "Generating coverage report in covhtml/"
|
||||
${wrapper} coverage html -d covhtml -i
|
||||
${wrapper} coverage html --include=nova/* -d covhtml -i
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue