diff options
author | Brad King <brad.king@kitware.com> | 2011-02-22 19:32:11 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-02-22 19:32:11 (GMT) |
commit | 01b65de3f943f9828efd8e3a56533f495a9125fc (patch) | |
tree | 2e7fca60859c80945fe37c6af25abca2ceec47df | |
parent | f556773f01f73bd5108b1fdbdee89f85e8b7fb47 (diff) | |
parent | 6e02a3b2bf43f4785bb21eb1cf8bbc26ac1abc12 (diff) | |
download | CMake-01b65de3f943f9828efd8e3a56533f495a9125fc.zip CMake-01b65de3f943f9828efd8e3a56533f495a9125fc.tar.gz CMake-01b65de3f943f9828efd8e3a56533f495a9125fc.tar.bz2 |
Merge topic 'fix-11717-gcov-same-file-name'
6e02a3b CTest: Use the gcov --preserve-paths flag (#11717)
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 6863adc..005651f 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -825,7 +825,7 @@ int cmCTestCoverageHandler::HandleGCovCoverage( // Call gcov to get coverage data for this *.gcda file: // std::string fileDir = cmSystemTools::GetFilenamePath(it->c_str()); - std::string command = "\"" + gcovCommand + "\" -l -o \"" + fileDir + std::string command = "\"" + gcovCommand + "\" -l -p -o \"" + fileDir + "\" \"" + *it + "\""; cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, command.c_str() |