diff options
author | Renier Morales <renierm@us.ibm.com> | 2012-04-23 22:36:19 -0400 |
---|---|---|
committer | Renier Morales <renierm@us.ibm.com> | 2012-04-24 07:58:25 -0400 |
commit | bcb53dfc6a149f94b4509ce90f89120b526f5582 (patch) | |
tree | dfad12b629f1282105fcff66c7877bb18cd59c2a | |
parent | f05841caf3dbf7e659b55513f07e9837b1cf22f6 (diff) | |
download | nova-bcb53dfc6a149f94b4509ce90f89120b526f5582.tar.gz |
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
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Authors | 1 | ||||
-rwxr-xr-x | run_tests.sh | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 5738efbd61..32a894c808 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ tools/conf/nova.conf* cover/* dist/* .coverage +covhtml @@ -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> diff --git a/run_tests.sh b/run_tests.sh index 97d229f673..5f808cbeb9 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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 |