diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-06-09 15:19:46 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-06-09 15:19:46 (GMT) |
commit | 699a6cfe387c0cfbeca7199f823215c370cf2b16 (patch) | |
tree | 410b50649ad21e0c75d6813416117d7dde74990d | |
parent | 67c068428c9eec22873bc1a4ff5f2a92e0678c29 (diff) | |
download | CMake-699a6cfe387c0cfbeca7199f823215c370cf2b16.zip CMake-699a6cfe387c0cfbeca7199f823215c370cf2b16.tar.gz CMake-699a6cfe387c0cfbeca7199f823215c370cf2b16.tar.bz2 |
BUG: Even if update fails it should produce valid XML
-rw-r--r-- | Source/cmCTest.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index bf2bd59..48efea6 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -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 ) |