diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-18 15:32:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-18 15:32:29 (GMT) |
commit | 0949debeceb07f52dd7e6ae56e4041023c0ea797 (patch) | |
tree | 6dcf6afa4f5a2d5f718eaf9deb5525ce29dedf9f | |
parent | 0e3b1febbba1525d8bb10e9abae9e60fc8acb775 (diff) | |
download | CMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.zip CMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.tar.gz CMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.tar.bz2 |
ENH: Cleanup file name
-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) ) { |