diff options
author | Brad King <brad.king@kitware.com> | 2019-11-05 17:59:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-05 17:59:16 (GMT) |
commit | 016601e5e6f152403306c12997534aadd4287d38 (patch) | |
tree | 64af20c4200fd44061789bcb9bf6842fd8cb5ab0 /Source/cmCTest.cxx | |
parent | 370fe1495b4109430b2cb250dd3afd1ce9401cf6 (diff) | |
parent | c1435d98120dff203de01d75f8f91e99bc75fe2b (diff) | |
download | CMake-016601e5e6f152403306c12997534aadd4287d38.zip CMake-016601e5e6f152403306c12997534aadd4287d38.tar.gz CMake-016601e5e6f152403306c12997534aadd4287d38.tar.bz2 |
Merge branch 'backport-ctest-resource-groups'
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 20445b0..34e9479 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -2139,12 +2139,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()); } |