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:
parent
9e9af8c6de
commit
81db8200e2
@ -834,7 +834,7 @@ class LogcatMonitor(object):
|
|||||||
if self._logcat_format:
|
if self._logcat_format:
|
||||||
logcat_cmd = "{} -v {}".format(logcat_cmd, quote(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))
|
logger.debug('logcat command ="{}"'.format(logcat_cmd))
|
||||||
self._logcat = pexpect.spawn(logcat_cmd, logfile=self._logfile, encoding='utf-8')
|
self._logcat = pexpect.spawn(logcat_cmd, logfile=self._logfile, encoding='utf-8')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user