BUG: Even if update fails it should produce valid XML
This commit is contained in:
parent
67c068428c
commit
699a6cfe38
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue