summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-06-06 08:28:18 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-06-06 08:28:18 (GMT)
commit887532f0f097fc90f481174ba7cfa08bde9d9195 (patch)
treebab78fc7e33b05b7bcebde873a8bf0c603bca32e /Source/CTest/cmCTestTestHandler.cxx
parent47cde18849201c3b58479d38725b554f3ad34eaf (diff)
downloadCMake-887532f0f097fc90f481174ba7cfa08bde9d9195.zip
CMake-887532f0f097fc90f481174ba7cfa08bde9d9195.tar.gz
CMake-887532f0f097fc90f481174ba7cfa08bde9d9195.tar.bz2
CTest: Fix combined inclusive/exclusive label regular expressions
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 1d1dde4..f21d166 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -509,7 +509,7 @@ int cmCTestTestHandler::ProcessHandler()
if ( val )
{
this->UseExcludeLabelRegExpFlag = true;
- this->ExcludeLabelRegularExpression = val;
+ this->ExcludeLabelRegExp = val;
}
val = this->GetOption("IncludeRegularExpression");
if ( val )
@@ -1558,7 +1558,7 @@ void cmCTestTestHandler::GetListOfTests()
this->IncludeLabelRegularExpression.
compile(this->IncludeLabelRegExp.c_str());
}
- if ( !this->IncludeLabelRegExp.empty() )
+ if ( !this->ExcludeLabelRegExp.empty() )
{
this->ExcludeLabelRegularExpression.
compile(this->ExcludeLabelRegExp.c_str());