diff options
author | Brad King <brad.king@kitware.com> | 2016-07-22 13:17:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-07-22 13:17:53 (GMT) |
commit | d504999d8656c49138020677d908330125907842 (patch) | |
tree | afb5e27c1be78dfd36014d6eb9b73c3687228204 /Tests | |
parent | 1fc340f0d4d9450d82631c876ab0f85bae220242 (diff) | |
parent | d6a6024e9eb993d94d24bb0d98f966c50079a525 (diff) | |
download | CMake-d504999d8656c49138020677d908330125907842.zip CMake-d504999d8656c49138020677d908330125907842.tar.gz CMake-d504999d8656c49138020677d908330125907842.tar.bz2 |
Merge topic 'tests-hide-ldd-check-errors'
d6a6024e Tests: Hide errors from `ldd --help` output check
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index b6d1c38..dbd5530 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -309,7 +309,8 @@ endif() if("${CMAKE_GENERATOR}" MATCHES "Make|Ninja") if(UNIX AND NOT CYGWIN) execute_process(COMMAND ldd --help - OUTPUT_VARIABLE LDD_HELP) + OUTPUT_VARIABLE LDD_HELP + ERROR_VARIABLE LDD_ERR) if("${LDD_HELP}" MATCHES "(-r, --function-relocs.*process data and function relocations.*-u, --unused.*print unused direct dependencies)") add_RunCMake_test(LinkWhatYouUse) |