mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +00:00
tests/docker: Fix _get_so_libs() for docker-binfmt-image
Fix a variable rename mistake from commit5e33f7fead
: Traceback (most recent call last): File "./tests/docker/docker.py", line 710, in <module> sys.exit(main()) File "./tests/docker/docker.py", line 706, in main return args.cmdobj.run(args, argv) File "./tests/docker/docker.py", line 489, in run _copy_binary_with_libs(args.include_executable, File "./tests/docker/docker.py", line 149, in _copy_binary_with_libs libs = _get_so_libs(src) File "./tests/docker/docker.py", line 123, in _get_so_libs libs.append(s.group(1)) NameError: name 's' is not defined Fixes:5e33f7fead
("tests/docker: better handle symlinked libs") Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210119050149.516910-1-f4bug@amsat.org> Message-Id: <20210202134001.25738-2-alex.bennee@linaro.org>
This commit is contained in:
parent
36a7ab5f04
commit
4d8f630915
@ -120,7 +120,7 @@ def _get_so_libs(executable):
|
||||
search = ldd_re.search(line)
|
||||
if search:
|
||||
try:
|
||||
libs.append(s.group(1))
|
||||
libs.append(search.group(1))
|
||||
except IndexError:
|
||||
pass
|
||||
except subprocess.CalledProcessError:
|
||||
|
Loading…
Reference in New Issue
Block a user