diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2020-06-23 15:17:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 17:17:35 -0500 |
commit | e74c8e71ccfc86ea63446dff5517afcdd286bae0 (patch) | |
tree | 3aabd972a10dda4d70fd3d2ab9d801be81c68ce0 | |
parent | 0b57567824d23159f011e34b1a841b832308903c (diff) | |
download | spack-e74c8e71ccfc86ea63446dff5517afcdd286bae0.tar.gz spack-e74c8e71ccfc86ea63446dff5517afcdd286bae0.tar.bz2 spack-e74c8e71ccfc86ea63446dff5517afcdd286bae0.tar.xz spack-e74c8e71ccfc86ea63446dff5517afcdd286bae0.zip |
tests: check rpath presence not equality (#17216)
-rw-r--r-- | lib/spack/spack/test/relocate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/test/relocate.py b/lib/spack/spack/test/relocate.py index 551f1596f7..a1a8952c97 100644 --- a/lib/spack/spack/test/relocate.py +++ b/lib/spack/spack/test/relocate.py @@ -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()) ) - 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): |