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;
|
os << "\t</Author>" << std::endl;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//std::cout << "End" << std::endl;
|
//std::cout << "End" << std::endl;
|
||||||
std::string end_time = ::CurrentTime();
|
std::string end_time = ::CurrentTime();
|
||||||
os << "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
os << "\t<EndDateTime>" << end_time << "</EndDateTime>\n"
|
||||||
<< "</Update>" << std::endl;
|
<< "</Update>" << std::endl;
|
||||||
|
|
||||||
if ( ofs )
|
if ( ofs )
|
||||||
{
|
{
|
||||||
ofs.close();
|
ofs.close();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! res || retVal )
|
if (! res || retVal )
|
||||||
|
|
Loading…
Reference in New Issue