Commit 0949debe authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Cleanup file name

parent 0e3b1feb
......@@ -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) )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment