diff options
author | Brad King <brad.king@kitware.com> | 2021-09-20 14:02:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-09-20 14:02:25 (GMT) |
commit | c179ab64919539b0059484abdc7a85d8a4e81944 (patch) | |
tree | 42fd854d8e5fcb55d0e78cc77803b123adca71ae | |
parent | ed0139e60637ad3f00373ec1c7c0efbd302fc073 (diff) | |
parent | 6ea883d652a64dc94931c15c2a5c00ed4a9c6b8e (diff) | |
download | CMake-c179ab64919539b0059484abdc7a85d8a4e81944.zip CMake-c179ab64919539b0059484abdc7a85d8a4e81944.tar.gz CMake-c179ab64919539b0059484abdc7a85d8a4e81944.tar.bz2 |
Merge topic 'test-symlink'
6ea883d652 Tests: Avoid output when running symlink check
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6536
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 4ccbfeb..da6b670 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -1656,6 +1656,8 @@ if(BUILD_TESTING) "${CMake_SOURCE_DIR}/Tests/CMakeLists.txt" # random source file that exists "${CMake_BINARY_DIR}/Tests/try_to_create_symlink" # random target file in existing directory RESULT_VARIABLE _symlink_result + OUTPUT_VARIABLE _symlink_stdout + ERROR_VARIABLE _symlink_stderr ) if(_symlink_result EQUAL 0) file(REMOVE "${CMake_BINARY_DIR}/Tests/try_to_create_symlink") |