On 28.06.2013 21:36, Dimple Kapadia wrote:
> I have several user programs that have been written to test different
> areas of a single library.
> I have results from GCOV that gives me the % coverage of each user
> program. I am looking for a single combined % of all 3 contributing to
> the overall code coverage % of the library.
> Can LCOV do this? And if so, what are the flags I need?
Yes, just collect 3 separate coverage data files for each invocation of
the library and combine them, either using lcov's -a option (see man
lcov) or by specifying all the coverage files to genhtml.
Linux on System z Development - IBM Germany