ENH: Cleanup file name

This commit is contained in:
Andy Cedilnik 2005-07-18 11:32:29 -04:00
parent 0e3b1febbb
commit 0949debece
1 changed files with 4 additions and 1 deletions

View File

@ -109,7 +109,10 @@ bool cmCTestGenericHandler::StartLogFile(const char* name, cmGeneratedFileStream
{
ostr << "_" << m_SubmitIndex;
}
ostr << "_" << m_CTest->GetCurrentTag();
if ( m_CTest->GetCurrentTag().c_str() )
{
ostr << "_" << m_CTest->GetCurrentTag();
}
ostr << ".log";
if( !m_CTest->OpenOutputFile("Temporary", ostr.str().c_str(), xofs) )
{