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:
parent
27750b3db2
commit
1136e5b23b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user