CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option
Background:
- For large projects, the default bzip2 compression of gcov data was prohibitively expensively (could take several hours). Introduce options that allow the consumer to choose between file size and compression time.
Changes:
- Add a new optional argument
TARBALL_COMPRESSION
for the macroctest_coverage_collect_gcov
. This option accepts the valuesOFF
,GZIP
,BZIP2
,XZ
,ZSTD
, orFROM_EXT
. The default value isBZIP2
to preserve prior behavior. - Extend test suit to cover new code paths.
Fixes: #20593 (closed)
Topic-rename: CTestCoverageCollectGCOV-compress-opts
Edited by Brad King