Improve coverage rules for Qt projects

Bug #1327121 reported by Alberto Mardegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cupstream2distro Configuration
New
Undecided
Unassigned

Bug Description

The coverage reports (see for example https://jenkins.qa.ubuntu.com/job/ubuntu-system-settings-online-accounts-utopic-amd64-ci/18/cobertura/client_OnlineAccountsClient/ ) do not exclude the moc auto-generated files, and therefore lead to a lower coverage score.

I propose adding these two options to the gcovr invocation: '--exclude=.*/moc_.*.cpp' '--exclude=.*moc'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.