From 0949debeceb07f52dd7e6ae56e4041023c0ea797 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 18 Jul 2005 11:32:29 -0400 Subject: ENH: Cleanup file name --- Source/CTest/cmCTestGenericHandler.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) ) { -- cgit v0.12