summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:32:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-18 15:32:29 (GMT)
commit0949debeceb07f52dd7e6ae56e4041023c0ea797 (patch)
tree6dcf6afa4f5a2d5f718eaf9deb5525ce29dedf9f /Source/CTest
parent0e3b1febbba1525d8bb10e9abae9e60fc8acb775 (diff)
downloadCMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.zip
CMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.tar.gz
CMake-0949debeceb07f52dd7e6ae56e4041023c0ea797.tar.bz2
ENH: Cleanup file name
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx5
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) )
{