Commit 484958b7 authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'coverage_collect_delete'

5de122df CTestCoverageCollectGCOV: improve DELETE option
parents 0d4c75ec 5de122df
......@@ -287,10 +287,14 @@ ${uncovered_files_for_tar}
WORKING_DIRECTORY ${binary_dir})
if (GCOV_DELETE)
string(REPLACE "\n" ";" gcov_files "${gcov_files}")
foreach(gcov_file ${gcov_files})
foreach(gcov_file ${unfiltered_gcov_files})
file(REMOVE ${binary_dir}/${gcov_file})
endforeach()
file(REMOVE ${coverage_dir}/coverage_file_list.txt)
file(REMOVE ${coverage_dir}/data.json)
if (EXISTS ${binary_dir}/uncovered)
file(REMOVE ${binary_dir}/uncovered)
endif()
endif()
endfunction()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment