summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2023-02-22 22:12:49 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2023-02-22 22:59:58 (GMT)
commit064c3244da08acecb313d0076eecb4eba30f1932 (patch)
treebd3bc8e916d4d5f961e0c0506cdd73994687c269 /Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake
parent86db720a8cdad3bcd449d7137a648298e1fb13a3 (diff)
downloadCMake-064c3244da08acecb313d0076eecb4eba30f1932.zip
CMake-064c3244da08acecb313d0076eecb4eba30f1932.tar.gz
CMake-064c3244da08acecb313d0076eecb4eba30f1932.tar.bz2
TARGET_RUNTIME_DLLS: fix test for this genex
In a95cbf38 multiple files were renamed, and check.cmake slipped through, and the test did actually not work correctly since then. This patch renames check.cmake to its correct name shared-check.cmake.
Diffstat (limited to 'Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake')
-rw-r--r--Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake
deleted file mode 100644
index e19598e..0000000
--- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-function(check_genex expected actual)
- if(NOT expected STREQUAL actual)
- string(APPEND RunCMake_TEST_FAILED "Expected DLLs:\n")
- foreach(dll IN LISTS expected)
- string(APPEND RunCMake_TEST_FAILED " ${dll}\n")
- endforeach()
- string(APPEND RunCMake_TEST_FAILED "Actual DLLs:\n")
- foreach(dll IN LISTS actual)
- string(APPEND RunCMake_TEST_FAILED " ${dll}\n")
- endforeach()
- endif()
- set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE)
-endfunction()
-
-include("${RunCMake_TEST_BINARY_DIR}/dlls.cmake")