diff options
author | Brad King <brad.king@kitware.com> | 2022-08-31 13:38:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-08-31 13:38:50 (GMT) |
commit | 90aef0b92a8f5bfe25fb17d86b7a6df4a7571b40 (patch) | |
tree | b9b2733107f87a6355ef7388e6b0a02a661bcbfe | |
parent | 209af8f9a5dba9edd7b0e1e01ef3342e458947e4 (diff) | |
parent | d3ac4e8246b0c48d1eabe80dd106a51a7bc51900 (diff) | |
download | CMake-90aef0b92a8f5bfe25fb17d86b7a6df4a7571b40.zip CMake-90aef0b92a8f5bfe25fb17d86b7a6df4a7571b40.tar.gz CMake-90aef0b92a8f5bfe25fb17d86b7a6df4a7571b40.tar.bz2 |
Merge topic 'test-symlinks-with-ccache' into release-3.24
d3ac4e8246 Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7622
-rw-r--r-- | Tests/RunCMake/SymlinkTrees/RunCMakeTest.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/SymlinkTrees/RunCMakeTest.cmake b/Tests/RunCMake/SymlinkTrees/RunCMakeTest.cmake index e5bfac4..58a111a 100644 --- a/Tests/RunCMake/SymlinkTrees/RunCMakeTest.cmake +++ b/Tests/RunCMake/SymlinkTrees/RunCMakeTest.cmake @@ -1,5 +1,8 @@ include(RunCMake) +# Do not let ccache modify paths checked by the test cases. +unset(ENV{CCACHE_BASEDIR}) + function(run_symlink_test_case) file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt" |