blob: 51e7f2aab93777c87c5931a8f40457fefec3e25c (
plain)
1
2
3
4
5
6
7
8
9
|
include(CTest)
add_test(NAME cmake_environment COMMAND "${CMAKE_COMMAND}" -E environment)
set_tests_properties(
cmake_environment
PROPERTIES
ENVIRONMENT "CTEST_TEST_VAR=set-via-ENVIRONMENT-property"
ENVIRONMENT_MODIFICATION "CTEST_TEST_VAR=set:set-via-ENVIRONMENT_MODIFICATION;CTEST_TEST_VAR=reset:"
)
|