summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-11-05 05:20:35 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-05 17:08:35 (GMT)
commita7c1e15cc46aa97cc19c9eb84fe8cad55c650bfa (patch)
treece3e7853796cf091940b519e13b03fc6643d70ee /Source/cmCTest.cxx
parent73a40b19ffa49bfc92fbe10bd0fd3821b7facae6 (diff)
downloadCMake-a7c1e15cc46aa97cc19c9eb84fe8cad55c650bfa.zip
CMake-a7c1e15cc46aa97cc19c9eb84fe8cad55c650bfa.tar.gz
CMake-a7c1e15cc46aa97cc19c9eb84fe8cad55c650bfa.tar.bz2
CTest: Rename hardware -> resources for CMake variables, command options
Only changes the user-visible effects of renaming hardware allocation to resource allocation. Code changes are the minimum needed to achieve that.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 10b7646..6eae26e 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2090,12 +2090,12 @@ bool cmCTest::HandleCommandLineArguments(size_t& i,
"ExcludeFixtureCleanupRegularExpression", args[i].c_str());
}
- if (this->CheckArgument(arg, "--hardware-spec-file") &&
+ if (this->CheckArgument(arg, "--resource-spec-file") &&
i < args.size() - 1) {
i++;
- this->GetTestHandler()->SetPersistentOption("HardwareSpecFile",
+ this->GetTestHandler()->SetPersistentOption("ResourceSpecFile",
args[i].c_str());
- this->GetMemCheckHandler()->SetPersistentOption("HardwareSpecFile",
+ this->GetMemCheckHandler()->SetPersistentOption("ResourceSpecFile",
args[i].c_str());
}