Is it possible to merge coverage data from two executables with gcov/gcovr?
问题 On one project, I'm running the test cases on three different executables, compiled with different options. Depending on the options, some code paths are taken or not. Right now, I'm only using the coverage data from one executable. I'm using gcovr to generate a XML that is then parsed by Sonar: gcovr -x -b -r . --object-directory=debug/test > coverage_report.xml I have three sets of gcda and gcno files, but I don't know how to generate a global report of them. Is there any way to do that ?