Skip to content

Commit ebded59

Browse files
committed
More test stability for ARM64
1 parent a418035 commit ebded59

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/pfwtest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def process_architecture_only(target_archi):
2828
return pytest.mark.skipif(windows.current_process.architecture != target_archi,
2929
reason="Test for {0} architecture process only".format(target_archi))
3030

31+
def system_architecture_only(target_archi):
32+
return pytest.mark.skipif(windows.system.architecture != target_archi,
33+
reason="Test for {0} architecture system only".format(target_archi))
3134

3235
check_for_gc_garbage = pytest.mark.usefixtures("check_for_gc_garbage")
3336
check_for_handle_leak = pytest.mark.usefixtures("check_for_handle_leak")

tests/test_syswow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_remote_pebsyswow(self, proc32):
6161
assert "Wow64LdrpInitialize" in wow64.pe.exports
6262

6363

64-
@process_architecture_only(gdef.IMAGE_FILE_MACHINE_AMD64)
64+
@system_architecture_only(gdef.PROCESSOR_ARCHITECTURE_AMD64)
6565
def test_getset_syswow_context(self, proc32):
6666
addr = proc32.virtual_alloc(0x1000)
6767
remote_python_code = """

0 commit comments

Comments
 (0)