summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-27 17:36:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-27 17:36:47 (GMT)
commiteadf3aea799538e27772a02b0e8bf4b55bfef59c (patch)
tree6df9d54c5da54c870427513d2726a852e7c39ff0
parent80050d95419670098accdb17bec791840496321b (diff)
downloadCMake-eadf3aea799538e27772a02b0e8bf4b55bfef59c.zip
CMake-eadf3aea799538e27772a02b0e8bf4b55bfef59c.tar.gz
CMake-eadf3aea799538e27772a02b0e8bf4b55bfef59c.tar.bz2
BUG: If notes file is missing, create empty notes file with error message
-rw-r--r--Source/cmCTest.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5dbd52e..aee85e0 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1068,15 +1068,6 @@ void cmCTest::EndXML(std::ostream& ostr)
int cmCTest::GenerateDartNotesOutput(std::ostream& os, const cmCTest::tm_VectorOfStrings& files)
{
cmCTest::tm_VectorOfStrings::const_iterator it;
- for ( it = files.begin(); it != files.end(); it ++ )
- {
- if ( !cmSystemTools::FileExists(it->c_str()) )
- {
- std::cerr << "Error creating notes. File " << it->c_str() << " does not exists" << std::endl;
- return 0;
- }
- }
-
os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
<< "<?xml-stylesheet type=\"text/xsl\" href=\"Dart/Source/Server/XSL/Build.xsl <file:///Dart/Source/Server/XSL/Build.xsl> \"?>\n"
<< "<Site BuildName=\"" << m_DartConfiguration["BuildName"] << "\" BuildStamp=\""