mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-01 17:41:54 +01:00
utils/logcatmonitor: Ensure adb_server is specified
Ensure the adb_server is specific when monitoring the logcat.
This commit is contained in:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user