Skip to content

Commit fc5fe25

Browse files
committed
[CMake] Run TPython tests also on Windows
1 parent 75278d7 commit fc5fe25

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

bindings/tpython/test/CMakeLists.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,5 @@ else()
1919
PYTHONPATH=${ROOTSYS}/lib:$ENV{PYTHONPATH})
2020
endif()
2121

22-
if(NOT MSVC)
23-
# These tests fail on Windows because of a problem with std::any
24-
# input_line_33:7:52: error: address of overloaded function 'make_any' does not match required type 'std::any (int &&)'
25-
# new (ret) (std::any) (((std::any (&)(int &&))std::make_any<int, int, 0>)((int&&)*(int*)args[0]));
26-
ROOT_ADD_GTEST(testTPython testTPython.cxx LIBRARIES ROOTTPython ENVIRONMENT ${tpython_gtest_env})
27-
ROOT_ADD_PYUNITTEST(test_tpython test_tpython.py)
28-
endif()
22+
ROOT_ADD_GTEST(testTPython testTPython.cxx LIBRARIES ROOTTPython ENVIRONMENT ${tpython_gtest_env})
23+
ROOT_ADD_PYUNITTEST(test_tpython test_tpython.py)

0 commit comments

Comments
 (0)