diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-05-28 13:23:30 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-06-01 13:02:33 (GMT) |
commit | a12639e658e4c116728dd86c1ef227215303a9a2 (patch) | |
tree | 16f2df87fcaca81cb131f2acfb76a109f18e4569 /Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake | |
parent | 34a5163fecebf86d93277830a673fabdd53da82c (diff) | |
download | CMake-a12639e658e4c116728dd86c1ef227215303a9a2.zip CMake-a12639e658e4c116728dd86c1ef227215303a9a2.tar.gz CMake-a12639e658e4c116728dd86c1ef227215303a9a2.tar.bz2 |
file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES arguments
Diffstat (limited to 'Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake')
-rw-r--r-- | Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake b/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake index 381b602..d3d1cd6 100644 --- a/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake +++ b/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake @@ -1,21 +1,3 @@ -function(check_contents filename contents_regex) - if(EXISTS "${CMAKE_INSTALL_PREFIX}/${filename}") - file(READ "${CMAKE_INSTALL_PREFIX}/${filename}" contents) - if(NOT contents MATCHES "${contents_regex}") - string(APPEND RunCMake_TEST_FAILED "File contents: - ${contents} -do not match what we expected: - ${contents_regex} -in file: - ${CMAKE_INSTALL_PREFIX}/${filename}\n") - set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE) - endif() - else() - string(APPEND RunCMake_TEST_FAILED "File ${CMAKE_INSTALL_PREFIX}/${filename} does not exist") - set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE) - endif() -endfunction() - set(_check [[[^;]*/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_rpath\.so]] [[[^;]*/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-build/root-all/lib/libtest_runpath\.so]] |