cmCTest: Remove Finalize function
This commit is contained in:
parent
7e4b26fdb1
commit
c8bae4e226
@ -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);
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user