From c8bae4e2266310fe77ac7031c9de2ddfdc1115c7 Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Wed, 16 Oct 2024 22:20:15 +0200 Subject: [PATCH] cmCTest: Remove Finalize function --- Source/cmCTest.cxx | 5 ----- Source/cmCTest.h | 15 --------------- 2 files changed, 20 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 78de31a15b..f0a2fa550d 100644 --- a/Source/cmCTest.cxx +++ b/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); diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 3e018a5f74..70e364a2bb 100644 --- a/Source/cmCTest.h +++ b/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();