Closed
Bug 1471571
Opened 6 years ago
Closed 6 years ago
Reset gcov counters before every test and dump them before shutdown in per-test coverage mode
Categories
(Testing :: Code Coverage, enhancement)
Testing
Code Coverage
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: marco, Assigned: marco)
References
(Blocks 1 open bug)
Details
In order to have more precise coverage data in the per-test case, we should reset the counters before running a test, and dump them before shutting down.
In bug 1470151 we have laid the foundations for doing this (by doing it on Linux and for xpcshell).
We should expand it to other suites, and then enable it on Windows too (which is going to require some changes to the C++ code, as Clang doesn't have __gcov_dump and __gcov_reset but only __gcov_flush).
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mcastelluccio
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•