summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_elf.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/misc/test_elf.py')
-rw-r--r--tests/unit/misc/test_elf.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/misc/test_elf.py b/tests/unit/misc/test_elf.py
index 8a89d11fb..41a5e273d 100644
--- a/tests/unit/misc/test_elf.py
+++ b/tests/unit/misc/test_elf.py
@@ -47,7 +47,7 @@ def test_format_sizes(fmt, expected):
@pytest.mark.skipif(not utils.is_linux, reason="Needs Linux")
-def test_result(qapp, caplog):
+def test_result(webengine_versions, qapp, caplog):
"""Test the real result of ELF parsing.
NOTE: If you're a distribution packager (or contributor) and see this test failing,
@@ -60,6 +60,10 @@ def test_result(qapp, caplog):
pytest.importorskip('qutebrowser.qt.webenginecore')
versions = elf.parse_webenginecore()
+ if webengine_versions.webengine == utils.VersionNumber(6, 5):
+ assert versions is None
+ pytest.xfail("ELF file structure not supported")
+
assert versions is not None
# No failing mmap