More test stability for ARM64

This commit is contained in:
hakril
2025-02-11 17:12:22 +01:00
parent a418035e1e
commit ebded59c43
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -28,6 +28,9 @@ def process_architecture_only(target_archi):
return pytest.mark.skipif(windows.current_process.architecture != target_archi,
reason="Test for {0} architecture process only".format(target_archi))
def system_architecture_only(target_archi):
return pytest.mark.skipif(windows.system.architecture != target_archi,
reason="Test for {0} architecture system only".format(target_archi))
check_for_gc_garbage = pytest.mark.usefixtures("check_for_gc_garbage")
check_for_handle_leak = pytest.mark.usefixtures("check_for_handle_leak")
+1 -1
View File
@@ -61,7 +61,7 @@ class TestSyswowRemoteProcess(object):
assert "Wow64LdrpInitialize" in wow64.pe.exports
@process_architecture_only(gdef.IMAGE_FILE_MACHINE_AMD64)
@system_architecture_only(gdef.PROCESSOR_ARCHITECTURE_AMD64)
def test_getset_syswow_context(self, proc32):
addr = proc32.virtual_alloc(0x1000)
remote_python_code = """