summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-29 12:44:13 +0000
committerKitware Robot <kwrobot@kitware.com>2021-07-29 08:44:27 -0400
commit5f1afff9f79784d59618abc16d8e56a3c5f3f1e3 (patch)
tree356a8a776b2040d4c26ff1795b3639660d2647b5 /Source
parentb880867e5aa4037d5fca4c3aafa82ffe60d18dfa (diff)
parent26170ea3069238bfb287d6304cd2f65e1c3a7387 (diff)
downloadcmake-5f1afff9f79784d59618abc16d8e56a3c5f3f1e3.tar.gz
Merge topic 'ctest-test-changing-labels' into release-3.21
26170ea306 CTest: Reset multi-options to persistent multi-options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6403
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index cc756d7dc4..48cc0e4500 100644
--- a/Source/CTest/cmCTestGenericHandler.cxx
+++ b/Source/CTest/cmCTestGenericHandler.cxx
@@ -68,10 +68,8 @@ void cmCTestGenericHandler::Initialize()
{
this->AppendXML = false;
this->TestLoad = 0;
- this->Options.clear();
- for (auto const& po : this->PersistentOptions) {
- this->Options[po.first] = po.second;
- }
+ this->Options = this->PersistentOptions;
+ this->MultiOptions = this->PersistentMultiOptions;
}
const char* cmCTestGenericHandler::GetOption(const std::string& op)