mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-11 20:11:10 -05:00
BUG: Even if update fails it should produce valid XML
This commit is contained in:
@@ -991,16 +991,16 @@ int cmCTest::UpdateDirectory()
|
||||
}
|
||||
os << "\t</Author>" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
//std::cout << "End" << std::endl;
|
||||
std::string end_time = ::CurrentTime();
|
||||
os << "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
||||
<< "</Update>" << std::endl;
|
||||
//std::cout << "End" << std::endl;
|
||||
std::string end_time = ::CurrentTime();
|
||||
os << "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
||||
<< "</Update>" << std::endl;
|
||||
|
||||
if ( ofs )
|
||||
{
|
||||
ofs.close();
|
||||
}
|
||||
if ( ofs )
|
||||
{
|
||||
ofs.close();
|
||||
}
|
||||
|
||||
if (! res || retVal )
|
||||
|
||||
Reference in New Issue
Block a user