Closed Bug 1487320 Opened 7 years ago Closed 6 years ago

Don't write GCDA files for source files which we are going to ignore

Categories

(Testing :: Code Coverage, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1491004

People

(Reporter: marco, Unassigned)

References

(Blocks 1 open bug)

Details

We are currently ignoring GCC and VS2017 directories (https://dxr.mozilla.org/mozilla-central/rev/c2e3be6a1dd352b969a45f0b85e87674e24ad284/testing/mozharness/mozharness/mozilla/testing/codecoverage.py#296), as we are only interested in coverage for our own source code. Moreover, they contain very large source files with thousands of function (infact a report without ignoring them is much smaller, https://bugzilla.mozilla.org/show_bug.cgi?id=1454629#c3), so ignoring them at the gcov level instead of in the postprocessing could save a lot of time.
See Also: → 1491004
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.