summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2023-02-22 22:34:01 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2023-02-26 15:37:37 (GMT)
commitaa68de0a27ef19f95f542535a46cabb3765da4da (patch)
treed053e82fb57e7778c81fc5da7048172b6efceec9
parent2ce3d62ffb5cf75cad23f7aeac59b4acc586c22f (diff)
downloadCMake-aa68de0a27ef19f95f542535a46cabb3765da4da.zip
CMake-aa68de0a27ef19f95f542535a46cabb3765da4da.tar.gz
CMake-aa68de0a27ef19f95f542535a46cabb3765da4da.tar.bz2
TARGET_RUNTIME_DLLS: minor refactoring of shared-check.cmake
Renamed variables and text which mentions dlls to items, since we can use this check also for testing the directories.
-rw-r--r--Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake
index e19598e..6b05b4e 100644
--- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake
+++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake
@@ -1,12 +1,12 @@
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")
+ string(APPEND RunCMake_TEST_FAILED "Expected items:\n")
+ foreach(item IN LISTS expected)
+ string(APPEND RunCMake_TEST_FAILED " ${item}\n")
endforeach()
- string(APPEND RunCMake_TEST_FAILED "Actual DLLs:\n")
- foreach(dll IN LISTS actual)
- string(APPEND RunCMake_TEST_FAILED " ${dll}\n")
+ string(APPEND RunCMake_TEST_FAILED "Actual items:\n")
+ foreach(item IN LISTS actual)
+ string(APPEND RunCMake_TEST_FAILED " ${item}\n")
endforeach()
endif()
set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE)