From 7dffe99ad8bf6c34421632aa277dc09d48085cb2 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 27 Mar 2023 09:26:00 -0400 Subject: 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. --- Tests/CudaOnly/RuntimeControls/verify_runtime.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake b/Tests/CudaOnly/RuntimeControls/verify_runtime.cmake index b313dac..27fbe45 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) -- cgit v0.12