GitHub user kou added a comment to the discussion: procdump on Cpp Windows CI

This may work...

```diff
diff --git a/cpp/cmake_modules/BuildUtils.cmake 
b/cpp/cmake_modules/BuildUtils.cmake
index 134f47b12e..f198fddc0b 100644
--- a/cpp/cmake_modules/BuildUtils.cmake
+++ b/cpp/cmake_modules/BuildUtils.cmake
@@ -736,7 +736,7 @@ function(ADD_TEST_CASE REL_TEST_NAME)
                valgrind --suppressions=valgrind.supp --tool=memcheck 
--gen-suppressions=all \
                  --num-callers=500 --leak-check=full 
--leak-check-heuristics=stdstring \
                  --error-exitcode=1 ${TEST_PATH} ${ARG_TEST_ARGUMENTS}")
-  elseif(WIN32 OR CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
+  elseif(MSVC OR CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
     add_test(NAME ${TEST_NAME} COMMAND ${TEST_NAME} ${ARG_TEST_ARGUMENTS})
   else()
     add_test(${TEST_NAME}
```

GitHub link: 
https://github.com/apache/arrow/discussions/46891#discussioncomment-13556280

----
This is an automatically sent email for user@arrow.apache.org.
To unsubscribe, please send an email to: user-unsubscr...@arrow.apache.org

Reply via email to