mirror of https://github.com/xemu-project/xemu.git
tests/docker: fix final missing .encode when parsing solibs
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
884fcafc9c
commit
eea2153ea8
|
@ -111,7 +111,7 @@ def _get_so_libs(executable):
|
|||
libs = []
|
||||
ldd_re = re.compile(r"(/.*/)(\S*)")
|
||||
try:
|
||||
ldd_output = subprocess.check_output(["ldd", executable])
|
||||
ldd_output = subprocess.check_output(["ldd", executable]).decode('utf-8')
|
||||
for line in ldd_output.split("\n"):
|
||||
search = ldd_re.search(line)
|
||||
if search and len(search.groups()) == 2:
|
||||
|
|
Loading…
Reference in New Issue