[Cmake-commits] [cmake-commits] king committed cmCTest.h 1.115 1.116

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Mar 11 13:31:37 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv20093/Source

Modified Files:
	cmCTest.h 
Log Message:
BUG: Do not carry over file list between coverage

When performing multiple ctest_coverage() commands in a single CTest
instance we need to clear the list of CoverageLog-*.xml files for
submission.  Otherwise if the current coverage run produces fewer log
files than the previous run CTest will attempt to submit non-existing
files.


Index: cmCTest.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.h,v
retrieving revision 1.115
retrieving revision 1.116
diff -C 2 -d -r1.115 -r1.116
*** cmCTest.h	24 Feb 2009 20:43:06 -0000	1.115
--- cmCTest.h	11 Mar 2009 17:31:33 -0000	1.116
***************
*** 359,362 ****
--- 359,363 ----
    std::vector<std::string> const& GetSubmitFiles(Part part)
      { return this->Parts[part].SubmitFiles; }
+   void ClearSubmitFiles(Part part) { this->Parts[part].SubmitFiles.clear(); }
  
    //! Read the custom configuration files and apply them to the current ctest



More information about the Cmake-commits mailing list