From fc5fe25a5a1cc3fa4c782291c1451125021ec510 Mon Sep 17 00:00:00 2001 From: Jonas Rembser Date: Thu, 13 Nov 2025 00:36:21 +0100 Subject: [PATCH] [CMake] Run TPython tests also on Windows --- bindings/tpython/test/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bindings/tpython/test/CMakeLists.txt b/bindings/tpython/test/CMakeLists.txt index 9423d5f4043ae..d4794fa04d0eb 100644 --- a/bindings/tpython/test/CMakeLists.txt +++ b/bindings/tpython/test/CMakeLists.txt @@ -19,10 +19,5 @@ else() PYTHONPATH=${ROOTSYS}/lib:$ENV{PYTHONPATH}) endif() -if(NOT MSVC) - # These tests fail on Windows because of a problem with std::any - # input_line_33:7:52: error: address of overloaded function 'make_any' does not match required type 'std::any (int &&)' - # new (ret) (std::any) (((std::any (&)(int &&))std::make_any)((int&&)*(int*)args[0])); - ROOT_ADD_GTEST(testTPython testTPython.cxx LIBRARIES ROOTTPython ENVIRONMENT ${tpython_gtest_env}) - ROOT_ADD_PYUNITTEST(test_tpython test_tpython.py) -endif() +ROOT_ADD_GTEST(testTPython testTPython.cxx LIBRARIES ROOTTPython ENVIRONMENT ${tpython_gtest_env}) +ROOT_ADD_PYUNITTEST(test_tpython test_tpython.py)