Skip to content

Commit

Permalink
tests: retrace: skip the test using divide-by-zero on s390x
Browse files Browse the repository at this point in the history
As stated in the code, GDB seems to have issues with that particular
crash and will either crash itself or not give the proper stack trace.
Since it's not something that we can feasibly fix right now, let's skip
the test on that particular architecture.
  • Loading branch information
schopin-pro committed Jul 30, 2024
1 parent 1a890ec commit 64920d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/system/test_apport_retrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ def _assert_cache_has_content(


@pytest.mark.skipif(not has_internet(), reason="online test")
@pytest.mark.skipif(
impl.get_system_architecture() == "s390x",
reason="GDB has issues with divide-by-zero on s390x (LP: #2075204)",
)
def test_retrace_system_sandbox(
workdir: pathlib.Path, module_cachedir: pathlib.Path, divide_by_zero_crash: str
) -> None:
Expand Down

0 comments on commit 64920d3

Please sign in to comment.