diff options
author | Alex Reinking <alex.reinking@gmail.com> | 2022-08-14 08:57:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-15 18:19:21 (GMT) |
commit | a5d45e685f193bca3c9506d50141c459df6662b0 (patch) | |
tree | 8fb01708315d745138cb928600a5b53573bc9030 /Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt | |
parent | e2854b4fa25778b66473a75a0bf3ca4bfdec5a54 (diff) | |
download | CMake-a5d45e685f193bca3c9506d50141c459df6662b0.zip CMake-a5d45e685f193bca3c9506d50141c459df6662b0.tar.gz CMake-a5d45e685f193bca3c9506d50141c459df6662b0.tar.bz2 |
Tests: Add case for ENVIRONMENT_MODIFICATION property OP=reset behavior
When processing the reset operation in the context of a CTest
`ENVIRONMENT_MODIFICATION` property, the value the variable is reset to
is the one it had after `ENVIRONMENT` was processed, not before.
This was broken once during refactoring and is subtle enough that it
should be tested.
Diffstat (limited to 'Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt')
-rw-r--r-- | Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt b/Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt new file mode 100644 index 0000000..beaf133 --- /dev/null +++ b/Tests/RunCMake/ctest_environment/ENVIRONMENT_MODIFICATION-reset-to-system-stdout.txt @@ -0,0 +1 @@ +CTEST_TEST_VAR=set-via-system-environment |