From af298480d020e814fa4537ca7d7dd44d472489b5 Mon Sep 17 00:00:00 2001 From: David Cole Date: Sun, 24 Jun 2012 05:51:08 -0400 Subject: [PATCH] CTest: Rename local variable for clarity --- Source/cmCTest.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 689f6abf4..cc4a34115 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2236,7 +2236,7 @@ int cmCTest::Run(std::vector &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 &args, std::string* output) if (!this->AddTestsForDashboardType(targ)) { this->ErrorMessageUnknownDashDValue(targ); - performSomeTest = false; + executeTests = false; } } @@ -2277,7 +2277,7 @@ int cmCTest::Run(std::vector &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 &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 &args, std::string* output) return retv; } - // if some tests must be run - if(performSomeTest) + if(executeTests) { int res; // call process directory