Skip to content

Commit bccd9af

Browse files
committed
[CMake] Run TPython tests also on Windows
1 parent b254332 commit bccd9af

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
@@ -17,10 +17,5 @@ else()
1717
PYTHONPATH=${ROOTSYS}/lib:$ENV{PYTHONPATH})
1818
endif()
1919

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

0 commit comments

Comments
 (0)