ENH: Add support for CTestCustom.ctest, which modifies some behavior of ctest
This commit is contained in:
parent
222e9a2876
commit
2db971afb4
Source
File diff suppressed because it is too large
Load Diff
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
|
class cmMakefile;
|
||||||
|
|
||||||
class cmCTest
|
class cmCTest
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -37,7 +39,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Initialize and finalize testing
|
* Initialize and finalize testing
|
||||||
*/
|
*/
|
||||||
void Initialize();
|
int Initialize();
|
||||||
void Finalize();
|
void Finalize();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -315,6 +317,24 @@ private:
|
||||||
bool m_BuildNoCMake;
|
bool m_BuildNoCMake;
|
||||||
std::string m_NotesFiles;
|
std::string m_NotesFiles;
|
||||||
|
|
||||||
|
int ReadCustomConfigurationFileTree(const char* dir);
|
||||||
|
void PopulateCustomVector(cmMakefile* mf, const char* definition, tm_VectorOfStrings& vec);
|
||||||
|
|
||||||
|
tm_VectorOfStrings m_CustomErrorMatches;
|
||||||
|
tm_VectorOfStrings m_CustomErrorExceptions;
|
||||||
|
tm_VectorOfStrings m_CustomWarningMatches;
|
||||||
|
tm_VectorOfStrings m_CustomWarningExceptions;
|
||||||
|
|
||||||
|
tm_VectorOfStrings m_CustomTestsIgnore;
|
||||||
|
tm_VectorOfStrings m_CustomMemCheckIgnore;
|
||||||
|
|
||||||
|
tm_VectorOfStrings m_CustomPreTest;
|
||||||
|
tm_VectorOfStrings m_CustomPostTest;
|
||||||
|
tm_VectorOfStrings m_CustomPreMemCheck;
|
||||||
|
tm_VectorOfStrings m_CustomPostMemCheck;
|
||||||
|
|
||||||
|
int ExecuteCommands(tm_VectorOfStrings& vec);
|
||||||
|
|
||||||
//! Reread the configuration file
|
//! Reread the configuration file
|
||||||
void UpdateCTestConfiguration();
|
void UpdateCTestConfiguration();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue