File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,11 @@ else()
1717 PYTHONPATH=${ROOTSYS} /lib:$ENV{PYTHONPATH} )
1818endif ()
1919
20+ ROOT_ADD_GTEST(testTPython testTPython.cxx LIBRARIES ROOTTPython ENVIRONMENT ${tpython_gtest_env} )
21+
2022if (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} )
23+ # This test fails on Windows because MSVC’s standard library does not export
24+ # the symbols needed for cling to JIT-compile code involving std::any,
25+ # causing symbol resolution to fail.
2526 ROOT_ADD_PYUNITTEST(test_tpython test_tpython.py)
2627endif ()
You can’t perform that action at this time.
0 commit comments