Qt 6.5: Skip elf tests
The ELF file structure changed in a way that it seems impossible to support reliably. Given that we have an API to get the version nowadays, let's not bother with this. We might need to figure this out for PySide6 support, but not now. See #7624, #3625
This commit is contained in:
parent
ab7245732e
commit
9cb54b2099
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue