BUG: Make sure full paths are collapsed

This commit is contained in:
Andy Cedilnik 2005-09-15 16:03:06 -04:00
parent 5b9ecdec44
commit 34f1419aa4
1 changed files with 2 additions and 2 deletions

View File

@ -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() )
{