CTestCoverageCollectGCOV: Write tar files intended for CDash in gnutar format

PHP's PharData can not currently (PHP 5.6.4) extract paxr tar archives
with long filenames.
This commit is contained in:
Nils Gladitz 2015-04-07 12:41:55 +02:00 committed by Brad King
parent d2cc580704
commit fd04d87323
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ ${label_files}
execute_process(COMMAND
${CMAKE_COMMAND} -E tar ${tar_opts} ${GCOV_TARBALL}
"--mtime=1970-01-01 0:0:0 UTC"
"--format=gnutar"
--files-from=${coverage_dir}/coverage_file_list.txt
WORKING_DIRECTORY ${binary_dir})
endfunction()