1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

utils/logcatmonitor: Ensure adb_server is specified

Ensure the adb_server is specific when monitoring the logcat.
This commit is contained in:
Marc Bonnici 2020-11-13 13:41:44 +00:00 committed by setrofim
parent 9e9af8c6de
commit 81db8200e2

View File

@ -834,7 +834,7 @@ class LogcatMonitor(object):
if self._logcat_format:
logcat_cmd = "{} -v {}".format(logcat_cmd, quote(self._logcat_format))
logcat_cmd = get_adb_command(self.target.conn.device, logcat_cmd)
logcat_cmd = get_adb_command(self.target.conn.device, logcat_cmd, self.target.adb_server)
logger.debug('logcat command ="{}"'.format(logcat_cmd))
self._logcat = pexpect.spawn(logcat_cmd, logfile=self._logfile, encoding='utf-8')