Add __gcov_flush() to server and unit test exit paths

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Michael Grundy (Inactive)
            Reporter:
            Michael Grundy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: