ERROR MESSAGE: FOO.DLL does not share the same executable image.



I was unable to get TrueCoverage to merge together the data from different executables, and just show the coverage of the common component, a dll.  How do I do this?


You can use the following command syntax to merge two or more TrueCoverage session or merge files from the command line. Brackets [ ] indicate that a parameter is optional:

nmmerge /m output.tcm [/i imagename] {inputfile1 [inputfile2 inputfile3]  | @indirectfile}

/m output.tcm     Name of the output merge file.

/n     Tells TrueCoverage to delete output.tcm if it exists. If you specify an existing merge file and you do not specify this option, TrueCoverage add the sessions to the merge file.

/i imagename     Tells TrueCoverage to use data for only the specified images. Specify a separate /i option for each image you want to include.This option is useful if you want to collect coverage data for a DLL or OCX that you use from several different applications. You can merge the data for only that DLL or OCX so that TrueCoverage does not check the executable used to run the session.

Inputfilen    Space-separated list of input session or merge files. File names can include wildcards.

@indirectfile     Name of a text file that contains a list of input session or merge files. If a path is not specified, TrueCoverage looks for the file in the current directory.Each file name should be specified on a separate line. File names can include wildcards.


You can specify nmmerge options in any order. They are not dependent on position.

Old KB# 11999
Comment List
Related Discussions