diff options
author | Brad King <brad.king@kitware.com> | 2021-07-13 12:24:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-13 12:24:36 (GMT) |
commit | 3265fa51cd4feec492a157506fff505dbd4c7d37 (patch) | |
tree | 1a734924e446176ca42aaa69e6000c3c584af5c0 /Source/CTest/cmCTestTestHandler.cxx | |
parent | 95c97a12e8c8498f3ed7142e3644a8b6a7eeb9e1 (diff) | |
parent | de4f1f26b0a3217f7caf842c50857b1ac90d9b7d (diff) | |
download | CMake-3265fa51cd4feec492a157506fff505dbd4c7d37.zip CMake-3265fa51cd4feec492a157506fff505dbd4c7d37.tar.gz CMake-3265fa51cd4feec492a157506fff505dbd4c7d37.tar.bz2 |
Merge topic 'ctest-environment-modifications'
de4f1f26b0 CTest: add an ENVIRONMENT_MODIFICATION property
4c757fa3c8 Help/prop_test/ENVIRONMENT: clarify the scope of the changes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6299
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index b60a664..1157d10 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -2245,6 +2245,8 @@ bool cmCTestTestHandler::SetTestsProperties( cmExpandList(val, rt.Depends); } else if (key == "ENVIRONMENT"_s) { cmExpandList(val, rt.Environment); + } else if (key == "ENVIRONMENT_MODIFICATION"_s) { + cmExpandList(val, rt.EnvironmentModification); } else if (key == "LABELS"_s) { std::vector<std::string> Labels = cmExpandedList(val); rt.Labels.insert(rt.Labels.end(), Labels.begin(), Labels.end()); |