summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-27 09:26:00 -0400
committerBrad King <brad.king@kitware.com>2023-03-27 09:27:53 -0400
commit7dffe99ad8bf6c34421632aa277dc09d48085cb2 (patch)
tree913010d2c5b018d2cbd8b0a2d717f451b704d686 /Tests
parentd0ba94707025275579e41636e67052d287d275b2 (diff)
downloadcmake-7dffe99ad8bf6c34421632aa277dc09d48085cb2.tar.gz
Tests: Restore CudaOnly.RuntimeControls cudart verification on Windows
Since commit fa45594407 (file(GET_RUNTIME_DEPENDENCIES): Preserve casing for Windows PE binaries, 2023-03-06) we may find the cudart runtime library with its on-disk casing instead of always lower-case.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CudaOnly/RuntimeControls/verify_runtime.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake b/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake
index b313dac937..27fbe45874 100644
--- a/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake
+++ b/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake
@@ -7,7 +7,7 @@ file(GET_RUNTIME_DEPENDENCIES
EXECUTABLES ${EXEC_PATH}
)
-list(FILTER resolved_libs INCLUDE REGEX ".*cudart.*")
+list(FILTER resolved_libs INCLUDE REGEX ".*[Cc][Uu][Dd][Aa][Rr][Tt].*")
list(LENGTH resolved_libs has_cudart)
if(has_cudart EQUAL 0)