Skip to content

Bugfix/tests: Check presence not equality for rpath changes#16637

Merged
alalazo merged 2 commits intospack:developfrom
tldahlgren:bugfix/simplify-relocate-test-rpath-checks
May 20, 2020
Merged

Bugfix/tests: Check presence not equality for rpath changes#16637
alalazo merged 2 commits intospack:developfrom
tldahlgren:bugfix/simplify-relocate-test-rpath-checks

Conversation

@tldahlgren
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren commented May 13, 2020

Fixes #16636

The tests currently expect equality, which is a problem if there are other libraries in the rpath. This PR instead checks for presence of the changed lib paths in the output since some compilers add rpaths.

@tldahlgren tldahlgren added rpath tests General test capability(ies) bugfix Something wasn't working, here's a fix labels May 13, 2020
@tldahlgren tldahlgren self-assigned this May 13, 2020
@tldahlgren tldahlgren requested review from becker33 and scheibelp May 13, 2020 23:32
@tldahlgren tldahlgren changed the title Bugfix: Check presence not equality for rpath changes Bugfix/tests: Check presence not equality for rpath changes May 13, 2020
@tldahlgren tldahlgren requested review from alalazo and tgamblin and removed request for becker33 and scheibelp May 19, 2020 17:43
@alalazo
Copy link
Copy Markdown
Member

alalazo commented May 20, 2020

Restarted failing tests, just waiting for them to finish successfully

@alalazo alalazo merged commit 92989fb into spack:develop May 20, 2020
@tldahlgren
Copy link
Copy Markdown
Contributor Author

Restarted failing tests, just waiting for them to finish successfully

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Something wasn't working, here's a fix tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug/tests: three relocate.py tests fail with additional gcc libs

2 participants