Commit c8369058 authored by Thomas Leymonerie's avatar Thomas Leymonerie

slapos/testing: Adds the current folder to the library search

parent 83510d52
...@@ -166,6 +166,8 @@ def checkSoftware(slap, software_url): ...@@ -166,6 +166,8 @@ def checkSoftware(slap, software_url):
elif not_found_match: elif not_found_match:
library_name = not_found_match.group('library_name') library_name = not_found_match.group('library_name')
if library_name.split('.')[0] not in missing_lib_allowed_list: if library_name.split('.')[0] not in missing_lib_allowed_list:
if library_name not in os.listdir(os.path.dirname(path)):
#raise RuntimeError("Erreur de test", library_name, os.listdir(os.path.dirname(path)), line)
not_found.append(line) not_found.append(line)
else: else:
raise RuntimeError('Unknown ldd line %s for %s.' % (line, path)) raise RuntimeError('Unknown ldd line %s for %s.' % (line, 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