diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-15 20:03:06 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-09-15 20:03:06 (GMT) |
commit | 34f1419aa4554746991dc3a6fcc7aea45cf2a553 (patch) | |
tree | 5760a4fd83cdcc127546353aa21901044adc6961 /Source | |
parent | 5b9ecdec44bfbb360bead9d0af522bfecd10063e (diff) | |
download | CMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.zip CMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.tar.gz CMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.tar.bz2 |
BUG: Make sure full paths are collapsed
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 0d16098..3169b9a 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -501,7 +501,7 @@ int cmCTestCoverageHandler::ProcessHandler() { cmCTestLog(m_CTest, HANDLER_VERBOSE_OUTPUT, " produced s: " << sourceFile.c_str() << std::endl); ofs << " produced in source dir: " << sourceFile.c_str() << std::endl; - actualSourceFile = sourceFile; + actualSourceFile = cmSystemTools::CollapseFullPath(sourceFile); } // Binary dir? if ( sourceFile.size() > binaryDir.size() && @@ -510,7 +510,7 @@ int cmCTestCoverageHandler::ProcessHandler() { cmCTestLog(m_CTest, HANDLER_VERBOSE_OUTPUT, " produced b: " << sourceFile.c_str() << std::endl); ofs << " produced in binary dir: " << sourceFile.c_str() << std::endl; - actualSourceFile = sourceFile; + actualSourceFile = cmSystemTools::CollapseFullPath(sourceFile); } if ( actualSourceFile.empty() ) { |