BUG: Make sure full paths are collapsed
This commit is contained in:
parent
5b9ecdec44
commit
34f1419aa4
|
@ -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() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue