summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-15 20:03:06 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-15 20:03:06 (GMT)
commit34f1419aa4554746991dc3a6fcc7aea45cf2a553 (patch)
tree5760a4fd83cdcc127546353aa21901044adc6961 /Source/CTest
parent5b9ecdec44bfbb360bead9d0af522bfecd10063e (diff)
downloadCMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.zip
CMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.tar.gz
CMake-34f1419aa4554746991dc3a6fcc7aea45cf2a553.tar.bz2
BUG: Make sure full paths are collapsed
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestCoverageHandler.cxx4
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() )
{