CMake/Source/CTest/cmCTestMemCheckCommand.cxx

38 lines
1.3 KiB
C++
Raw Normal View History

/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
2006-03-10 23:03:09 +03:00
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "cmCTestMemCheckCommand.h"
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
cmCTestGenericHandler* cmCTestMemCheckCommand::InitializeActualHandler()
{
2006-03-10 23:03:09 +03:00
cmCTestGenericHandler* handler
= this->CTest->GetInitializedHandler("memcheck");
2006-03-10 23:03:09 +03:00
this->CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
"MemoryCheckCommand", "CTEST_MEMORYCHECK_COMMAND");
2006-03-10 23:03:09 +03:00
this->CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
"MemoryCheckCommandOptions", "CTEST_MEMORYCHECK_COMMAND_OPTIONS");
2006-03-10 23:03:09 +03:00
this->CTest->SetCTestConfigurationFromCMakeVariable(m_Makefile,
"MemoryCheckSuppressionFile", "CTEST_MEMORYCHECK_SUPPRESSIONS_FILE");
return handler;
}