BullseyeCoverage Up Contents Search

Run-Time Environment Variables

These environment variables control aspects of the native run-time. They have no effect on the small footprint run-time.

COVAUTOSAVE - Disable auto-save thread

By default, the BullseyeCoverage run-time creates a background thread to save coverage once per second. Setting the COVAUTOSAVE environment variable to 0 suppresses creation of this thread, in which case coverage is saved only upon program termination.

This setting is only checked once at startup.

COVERR - Error Log Filename

The COVERR environment variable specifies the name of a file to which the run-time appends error messages. If COVERR is not set, the run-time attempts to display error messages to the user using whatever mechanism is most appropriate for the operating system.

COVFILE - Coverage Filename

If the COVFILE environment variable is set, it specifies the path of the coverage file to update.

COVFILELIST - List of Coverage Filenames

If the COVFILELIST environment variable is set, it specifies a comma separated list of coverage file paths. This setting overrides COVFILE.

COVNOSAVE - Do Not Save Measurements

If environment variable COVNOSAVE is set to 1, the BullseyeCoverage run-time does not save any measurements to the coverage file.

This setting is only checked once at startup.

COVTMP - Windows Temporary Directory

On Windows, this overrides the system location of the temporary directory.

This setting is only checked once at startup.

Updated: 15 May 2019