Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10808

Add __gcov_flush() to server and unit test exit paths

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • None

    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.

      Attachments

        Activity

          People

            michael.grundy Michael Grundy
            michael.grundy Michael Grundy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: