Commit fa0ebacf authored by Jérome Perrin's avatar Jérome Perrin

Revert "testing/testcase: use realpath to compare paths"

This reverts commit 49ec3ece.

That commit revealed that all the rpath check was not effective and that
we have in fact lots of components which use system libraries.

We'll fix rpath on slapos profiles and only then we'll fix this check,
to prevent test failures (even if the test failures show a real problem)
parent 86b03edf
...@@ -268,7 +268,6 @@ def checkSoftware(slap, software_url): ...@@ -268,7 +268,6 @@ def checkSoftware(slap, software_url):
Only libraries from `valid_paths_for_libs` are accepted. Only libraries from `valid_paths_for_libs` are accepted.
Returns a list of error messages. Returns a list of error messages.
""" """
valid_paths_for_libs = [os.path.realpath(x) for x in valid_paths_for_libs]
executable_link_error_list = [] executable_link_error_list = []
for path in paths_to_check: for path in paths_to_check:
for root, dirs, files in os.walk(path): for root, dirs, files in os.walk(path):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment