CTestCoverageCollectGCOV: Improve implementation
- May 03, 2019
-
-
Cristian Morales Vega authored
Using "-x" we avoid overwriting .gcov files from source files in different paths which happen to have the same name. It's similar to "-p", but it produces shorter file names, reducing the risk of reaching the file system limit.
-
Cristian Morales Vega authored
Running gcov once per .gcda file is not only inefficient, it also generates wrong data since .gcov files can get overwritten and in general gcov works with less information. fakegcov.cmake needs to be able to handle multiple .gcda files for the test to be meaningful.
-