Commit c8369058 authored by Thomas Leymonerie's avatar Thomas Leymonerie

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

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