From eadf3aea799538e27772a02b0e8bf4b55bfef59c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 27 Sep 2004 13:36:47 -0400 Subject: BUG: If notes file is missing, create empty notes file with error message --- Source/cmCTest.cxx | 9 --------- 1 file changed, 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 << "\n" << " \"?>\n" << "