diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestGenericHandler.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx index 1499d24..8ceff8e 100644 --- a/Source/CTest/cmCTestGenericHandler.cxx +++ b/Source/CTest/cmCTestGenericHandler.cxx @@ -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) ) { |