Skip to content
Snippets Groups Projects
Commit 280ff401 authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Be more specific about the minimum required version of readelf (ie. binutils),...

Be more specific about the minimum required version of readelf (ie. binutils), as it appears that this "patch" level version change resulted in a change of output, not the "minor" version.

binutils 2.38-4 in Debian uses "retq" but 2.38.50.20220615-4 uses "ret".
parent 8c3e3eef
No related branches found
No related tags found
No related merge requests found
Pipeline #391496 passed
......@@ -95,7 +95,7 @@ def test_obj_compare_non_existing(monkeypatch, obj1):
@skip_unless_tools_exist("readelf")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38.50")
@skip_if_binutils_does_not_support_x86()
def test_diff(obj_differences):
assert len(obj_differences) == 1
......@@ -131,7 +131,7 @@ def lib_differences(lib1, lib2):
@skip_unless_tools_exist("readelf", "objdump")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38.50")
@skip_if_binutils_does_not_support_x86()
def test_lib_differences(lib_differences):
assert len(lib_differences) == 2
......@@ -173,7 +173,7 @@ def libmix_differences(libmix1, libmix2):
@skip_unless_tools_exist("xxd")
@skip_unless_tools_exist("llvm-readobj", "llvm-objdump")
@skip_unless_tools_exist("readelf", "objdump")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38")
@skip_unless_tool_is_at_least("readelf", readelf_version, "2.38.50")
@skip_if_binutils_does_not_support_x86()
def test_libmix_differences(libmix_differences):
assert len(libmix_differences) == 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment