Sfoglia il codice sorgente

cmCTest: Remove Finalize function

Daniel Pfeifer 1 anno fa
parent
commit
c8bae4e226
2 ha cambiato i file con 0 aggiunte e 20 eliminazioni
  1. 0 5
      Source/cmCTest.cxx
  2. 0 15
      Source/cmCTest.h

+ 0 - 5
Source/cmCTest.cxx

@@ -822,10 +822,6 @@ bool cmCTest::SetTest(const std::string& ttype, bool report)
   return false;
 }
 
-void cmCTest::Finalize()
-{
-}
-
 bool cmCTest::OpenOutputFile(const std::string& path, const std::string& name,
                              cmGeneratedFileStream& stream, bool compress)
 {
@@ -2997,7 +2993,6 @@ int cmCTest::ExecuteTests()
   } else {
     res = this->ProcessSteps();
   }
-  this->Finalize();
 
   if (currDir != workDir) {
     cmSystemTools::ChangeDirectory(currDir);

+ 0 - 15
Source/cmCTest.h

@@ -73,24 +73,9 @@ public:
    * Initialize and finalize testing
    */
   bool InitializeFromCommand(cmCTestStartCommand* command);
-  void Finalize();
 
   /**
    * Process the dashboard client steps.
-   *
-   * Steps are enabled using SetTest()
-   *
-   * The execution of the steps (or #Part) should look like this:
-   *
-   * /code
-   * ctest foo;
-   * foo.Initialize();
-   * // Set some things on foo
-   * foo.ProcessSteps();
-   * foo.Finalize();
-   * /endcode
-   *
-   * \sa Initialize(), Finalize(), Part, PartInfo, SetTest()
    */
   int ProcessSteps();