Skip to content
Snippets Groups Projects
Unverified Commit e74c8e71 authored by Tamara Dahlgren's avatar Tamara Dahlgren Committed by GitHub
Browse files

tests: check rpath presence not equality (#17216)

parent 0b575678
Branches
Tags
No related merge requests found
...@@ -337,7 +337,8 @@ def test_make_elf_binaries_relative(hello_world, copy_binary, tmpdir): ...@@ -337,7 +337,8 @@ def test_make_elf_binaries_relative(hello_world, copy_binary, tmpdir):
[str(new_binary)], [str(orig_binary)], str(orig_binary.dirpath()) [str(new_binary)], [str(orig_binary)], str(orig_binary.dirpath())
) )
assert rpaths_for(new_binary) == '$ORIGIN/lib:$ORIGIN/lib64:/opt/local/lib' # Some compilers add rpaths so ensure changes included in final result
assert '$ORIGIN/lib:$ORIGIN/lib64:/opt/local/lib' in rpaths_for(new_binary)
def test_raise_if_not_relocatable(monkeypatch): def test_raise_if_not_relocatable(monkeypatch):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment