From fd04d87323749c15969982d9aa9b72059f33463b Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Tue, 7 Apr 2015 12:41:55 +0200 Subject: [PATCH] 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. --- Modules/CTestCoverageCollectGCOV.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/CTestCoverageCollectGCOV.cmake b/Modules/CTestCoverageCollectGCOV.cmake index 8659a6916..6c74cf39a 100644 --- a/Modules/CTestCoverageCollectGCOV.cmake +++ b/Modules/CTestCoverageCollectGCOV.cmake @@ -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()