Skip to content

Commit

Permalink
[ci] disable qemu-remote tests for non x64
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jun 3, 2024
1 parent d1c5a5e commit e54035a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/api/gef_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from tests.base import RemoteGefUnitTestGeneric

from tests.utils import (
ARCH,
debug_target,
gdbserver_session,
qemuuser_session,
Expand Down Expand Up @@ -135,6 +136,7 @@ def test_func_parse_maps_remote_gdbserver(self):
sections = gef.memory.maps
assert len(sections) > 0

@pytest.mark.skipif(ARCH not in ("x86_64",), reason=f"Skipped for {ARCH}")
def test_func_parse_maps_remote_qemu(self):
gdb, gef = self._gdb, self._gef
# When in a gef-remote qemu-user session `parse_gdb_info_proc_maps`
Expand Down
3 changes: 3 additions & 0 deletions tests/api/gef_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
import pathlib
import random
import re
import pytest

from tests.base import RemoteGefUnitTestGeneric

from tests.utils import (
ARCH,
debug_target,
gdbserver_session,
qemuuser_session,
Expand Down Expand Up @@ -72,6 +74,7 @@ def test_root_dir_remote(self):
expected.st_ino == result.st_ino
)

@pytest.mark.skipif(ARCH not in ("x86_64",), reason=f"Skipped for {ARCH}")
def test_root_dir_qemu(self):
gdb, gef = self._gdb, self._gef

Expand Down
2 changes: 2 additions & 0 deletions tests/commands/gef_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from tests.base import RemoteGefUnitTestGeneric
from tests.utils import (
ARCH,
debug_target,
gdbserver_session,
qemuuser_session,
Expand Down Expand Up @@ -39,6 +40,7 @@ def test_cmd_gef_remote_gdbserver(self):
assert res.endswith(f"pid={gef.session.pid}, mode={gdbserver_mode})")

@pytest.mark.slow
@pytest.mark.skipif(ARCH not in ("x86_64",), reason=f"Skipped for {ARCH}")
def test_cmd_gef_remote_qemu_user(self):
gdb = self._gdb
gef = self._gef
Expand Down

0 comments on commit e54035a

Please sign in to comment.