diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-10-29 13:52:02 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-10-29 14:54:02 (GMT) |
commit | 9c4d6404eb4ac0016d2d107d8c24c8097d4e2359 (patch) | |
tree | bfe497277ead56803eca22e53bb244d82d3f73b5 /Tests/CMakeLists.txt | |
parent | 7d52d48a329d6a1c456b48f63c980cce799f3a9c (diff) | |
download | CMake-9c4d6404eb4ac0016d2d107d8c24c8097d4e2359.zip CMake-9c4d6404eb4ac0016d2d107d8c24c8097d4e2359.tar.gz CMake-9c4d6404eb4ac0016d2d107d8c24c8097d4e2359.tar.bz2 |
Tests/Environment: also test modifying ambient values
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index d1f7b69..ecb54c7 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1379,6 +1379,13 @@ if(BUILD_TESTING) --test-command ${CMAKE_CTEST_COMMAND} -V ) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Environment") + set_property(TEST Environment APPEND + PROPERTY ENVIRONMENT + "SET_FROM_AMBIENT_unset=base" + "SET_FROM_AMBIENT_replace=base" + "SET_FROM_AMBIENT_string=base" + "SET_FROM_AMBIENT_path=base" + "SET_FROM_AMBIENT_list=base") add_test(QtAutomocNoQt ${CMAKE_CTEST_COMMAND} --build-and-test |