cmake/Source/CTest/cmCTestMemCheckCommand.h

47 lines
1.0 KiB
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmCTestMemCheckCommand_h
#define cmCTestMemCheckCommand_h
2017-07-20 19:35:53 +02:00
#include "cmConfigure.h"
2016-10-30 18:24:19 +01:00
#include "cmCTestTestCommand.h"
2016-10-30 18:24:19 +01:00
class cmCTestGenericHandler;
2016-10-30 18:24:19 +01:00
class cmCommand;
/** \class cmCTestMemCheck
* \brief Run a ctest script
*
* cmCTestMemCheckCommand defineds the command to test the project.
*/
class cmCTestMemCheckCommand : public cmCTestTestCommand
{
public:
2017-04-14 19:02:05 +02:00
cmCTestMemCheckCommand();
/**
* This is a virtual constructor for the command.
*/
2016-10-30 18:24:19 +01:00
cmCommand* Clone() CM_OVERRIDE
2016-07-09 11:21:54 +02:00
{
cmCTestMemCheckCommand* ni = new cmCTestMemCheckCommand;
ni->CTest = this->CTest;
ni->CTestScriptHandler = this->CTestScriptHandler;
return ni;
2016-07-09 11:21:54 +02:00
}
protected:
2016-10-30 18:24:19 +01:00
cmCTestGenericHandler* InitializeActualHandler() CM_OVERRIDE;
2017-04-14 19:02:05 +02:00
void ProcessAdditionalValues(cmCTestGenericHandler* handler) CM_OVERRIDE;
enum
{
ctm_DEFECT_COUNT = ctt_LAST,
ctm_LAST
};
};
#endif