cmCTest: Remove Finalize function

This commit is contained in:
Daniel Pfeifer 2024-10-16 22:20:15 +02:00
parent 7e4b26fdb1
commit c8bae4e226
2 changed files with 0 additions and 20 deletions

View File

@ -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);

View File

@ -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();