An update will be applied January 25th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

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