From 5e3ba33172f732356f9be57b483a17f85b1fade8 Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot Date: Fri, 6 Nov 2026 09:21:29 +0100 Subject: [PATCH] [cmake][win][v640] Disable failing tests with VS 2026 v19.51 --- test/CMakeLists.txt | 4 ++++ tutorials/CMakeLists.txt | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f57fc9be19593..d794d5216bfa3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -178,7 +178,11 @@ endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/stressHistogram.5.18.00.root ${CMAKE_CURRENT_BINARY_DIR} COPYONLY) ROOT_EXECUTABLE(stressHistogram stressHistogram.cxx LIBRARIES Hist RIO) ROOT_ADD_TEST(test-stresshistogram COMMAND stressHistogram FAILREGEX "FAILED|Error in" LABELS longtest) +if(MSVC AND MSVC_VERSION GREATER_EQUAL 1951 AND NOT "${CMAKE_GENERATOR_PLATFORM}" MATCHES "Win32") + set(_willfail WILLFAIL) +endif() ROOT_ADD_TEST(test-stresshistogram-interpreted COMMAND ${root_exe} -b -q ${CMAKE_CURRENT_SOURCE_DIR}/stressHistogram.cxx + ${_willfail} FAILREGEX "FAILED|Error in") #--stressGUI--------------------------------------------------------------------------------------- diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt index 0a07828470b3c..6442aef5ee089 100644 --- a/tutorials/CMakeLists.txt +++ b/tutorials/CMakeLists.txt @@ -106,6 +106,11 @@ if(MSVC AND NOT win_broken_tests) io/ntuple/ntpl013_staged.C io/ntuple/ntpl014_framework.C io/ntuple/ntpl017_shared_reader.C) + # The SQliteDependencyOverVersion tutorial fails on Windows due to unresolved symbols + # with Visual Studio 2026 + if(MSVC_VERSION GREATER_EQUAL 1951) + list(APPEND dataframe_veto analysis/dataframe/df027_SQliteDependencyOverVersion.C) + endif() endif() # TODO: fix the problem and re-enable the tutorial test. The rf615 tutorial