summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-17 21:11:10 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-02-17 21:11:10 (GMT)
commitd5aafe1b93a72e72803bd636f460e0c93a78aa9e (patch)
treeff6b58f8c081acb08b9aac41d06ea713cc0a9f9f /Source/CTest/cmCTestTestHandler.cxx
parent79a7f42a218958a44158a023ba21b08f3808ec08 (diff)
downloadCMake-d5aafe1b93a72e72803bd636f460e0c93a78aa9e.zip
CMake-d5aafe1b93a72e72803bd636f460e0c93a78aa9e.tar.gz
CMake-d5aafe1b93a72e72803bd636f460e0c93a78aa9e.tar.bz2
ENH: Some more generalization
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index dcc4645..9e4be52 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -199,6 +199,23 @@ int cmCTestTestHandler::PostProcessHandler()
//functions and commented...
int cmCTestTestHandler::ProcessHandler()
{
+ // Update internal data structure from generic one
+ this->SetTestsToRunInformation(this->GetOption("TestsToRunInformation"));
+ this->SetUseUnion(cmSystemTools::IsOn(this->GetOption("UseUnion")));
+ const char* val;
+ val = this->GetOption("IncludeRegularExpression");
+ if ( val )
+ {
+ this->UseIncludeRegExp();
+ this->SetIncludeRegExp(val);
+ }
+ val = this->GetOption("ExcludeRegularExpression");
+ if ( val )
+ {
+ this->UseExcludeRegExp();
+ this->SetExcludeRegExp(val);
+ }
+
m_TestResults.clear();
std::cout << (m_MemCheck ? "Memory check" : "Test") << " project" << std::endl;