[SERVER-10808] Add __gcov_flush() to server and unit test exit paths Created: 17/Sep/13 Updated: 11/Jul/16 Resolved: 30/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Michael Grundy | Assignee: | Michael Grundy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Description |
|
In order for the coverage instrumentation to write out the gcda files when mongod, mongos, or the unit tests exit, __gcov_flush() needs to be called. The call should only be made if the code was built with the --gcov option to scons. |
| Comments |
| Comment by auto [ 03/Oct/13 ] |
|
Author: {u'username': u'mgrundy', u'name': u'Mike Grundy', u'email': u'michael.grundy@10gen.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |