[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:
Related
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: SERVER-10808 add __gcov_flush() call on exit

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/d1a4564bbac9b1317ee3d684bb26931a3f450b29

Generated at Thu Feb 08 03:24:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.