From aa68de0a27ef19f95f542535a46cabb3765da4da Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 22 Feb 2023 23:34:01 +0100 Subject: 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. --- Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared-check.cmake | 12 ++++++------ 1 file 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) -- cgit v0.12