Skip to content

Commit 491afef

Browse files
committed
[win64] Disable failing pythonizations test on Windows 64
On Windows 64, after removing the compiler flag workaround (PR root-project#9829), the `pythonizations` test is failing like: ``` 1386: -- TEST COMMAND -- 1386: cd C:/Users/sftnight/build/release/roottest/python/pythonizations 1386: C:/Python38/python.exe C:/Users/sftnight/git/roottest/python/pythonizations/PyROOT_pythonizationtest.py --fixcling 1386: -- BEGIN TEST OUTPUT -- 1386: ============================= test session starts ============================= 1386: platform win32 -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 1386: rootdir: C:\Users\sftnight 1386: collected 7 items 1386: 1386: ..\..\..\..\..\git\roottest\python\pythonizations\PyROOT_pythonizationtest.py . [ 14%] 1386: .....Windows fatal exception: access violation 1386: ```
1 parent b1a97ec commit 491afef

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

python/pythonizations/CMakeLists.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
if(ROOT_pyroot_FOUND)
2-
ROOTTEST_ADD_TEST(pythonizations
3-
MACRO PyROOT_pythonizationtest.py
4-
COPY_TO_BUILDDIR Pythonizables.C Pythonizables.h
5-
PRECMD ${ROOT_root_CMD} -b -q -l -e .L\ Pythonizables.C+
6-
ENVIRONMENT LEGACY_PYROOT=${legacy_pyroot})
2+
if(NOT MSVC OR "${CMAKE_GENERATOR_PLATFORM}" MATCHES "Win32" OR win_broken_tests)
3+
ROOTTEST_ADD_TEST(pythonizations
4+
MACRO PyROOT_pythonizationtest.py
5+
COPY_TO_BUILDDIR Pythonizables.C Pythonizables.h
6+
PRECMD ${ROOT_root_CMD} -b -q -l -e .L\ Pythonizables.C+
7+
ENVIRONMENT LEGACY_PYROOT=${legacy_pyroot})
8+
endif()
79

810
ROOTTEST_ADD_TEST(smartptr
911
MACRO PyROOT_smartptrtest.py

0 commit comments

Comments
 (0)