summaryrefslogtreecommitdiff
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-24 05:51:08 -0400
committerDavid Cole <david.cole@kitware.com>2012-06-24 05:51:08 -0400
commitaf298480d020e814fa4537ca7d7dd44d472489b5 (patch)
treee793db4f44e02db42d9ccb423b9f65dd8c1cc9d1 /Source/cmCTest.cxx
parent24ba0fd078ca1db13cdbeb51e531b0fce53f3f3f (diff)
downloadcmake-af298480d020e814fa4537ca7d7dd44d472489b5.tar.gz
CTest: Rename local variable for clarity
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 689f6abf4d..cc4a341151 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2236,7 +2236,7 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
this->FindRunningCMake();
const char* ctestExec = "ctest";
bool cmakeAndTest = false;
- bool performSomeTest = true;
+ bool executeTests = true;
bool SRArgumentSpecified = false;
// copy the command line
@@ -2266,7 +2266,7 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
if (!this->AddTestsForDashboardType(targ))
{
this->ErrorMessageUnknownDashDValue(targ);
- performSomeTest = false;
+ executeTests = false;
}
}
@@ -2277,7 +2277,7 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
i++;
if ( !this->SetTest(args[i].c_str(), false) )
{
- performSomeTest = false;
+ executeTests = false;
cmCTestLog(this, ERROR_MESSAGE,
"CTest -T called with incorrect option: "
<< args[i].c_str() << std::endl);
@@ -2315,7 +2315,7 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
}
else
{
- performSomeTest = false;
+ executeTests = false;
cmCTestLog(this, ERROR_MESSAGE,
"CTest -M called with incorrect option: " << str.c_str()
<< std::endl);
@@ -2386,8 +2386,7 @@ int cmCTest::Run(std::vector<std::string> &args, std::string* output)
return retv;
}
- // if some tests must be run
- if(performSomeTest)
+ if(executeTests)
{
int res;
// call process directory