Ignore common code in coverage calculations.

Ignore nova/openstack/common code when calculating coverage.

We do this because the unit tests for the common code are in a
different repository.

Change-Id: I0103b8acfc4cdaace68a18b1d1723a13595debe2
This commit is contained in:
Lorin Hochstein 2012-04-28 22:01:56 -04:00
parent 27750b3db2
commit 1136e5b23b

View File

@ -171,5 +171,6 @@ fi
if [ $coverage -eq 1 ]; then
echo "Generating coverage report in covhtml/"
${wrapper} coverage html --include=nova/* -d covhtml -i
# Don't compute coverage for common code, which is tested elsewhere
${wrapper} coverage html --include='nova/*' --omit='nova/openstack/common/*' -d covhtml -i
fi