From 45b781b96cd5b701e5e37bcb5b1ae83e5079b826 Mon Sep 17 00:00:00 2001 From: hakril Date: Thu, 13 Feb 2025 20:53:03 +0100 Subject: [PATCH] Still playing with xfail identification for arm64 tests --- tests/conftest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 34e5e07..e99bd23 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,6 +44,9 @@ def generate_pop_and_exit_fixtures(proc_popers, ids=[], dwCreationFlags=DEFAULT_ def pop_and_exit_process(request): proc_poper = request.param proc = proc_poper(dwCreationFlags=dwCreationFlags) + # Apply manually the xfail marker for a test on x86_on_arm64 for pe64 target (cross-heaven gate) + if windows.current_process._is_x86_on_arm64 and proc.bitness == 64: + request.applymarker("xfail") # Cross Heaven gate time.sleep(0.2) # Give time to the process to load :) print("Created {0} ({1}bits) for test".format(proc, proc.bitness)) yield weakref.proxy(proc) # provide the fixture value