mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-17 07:10:03 +01:00
SSH/Gem5Connection: Adds shell_echo
parameter
This flag is used to indicate whether gem5 echos the exectued command which requires removal for correct parsing.
This commit is contained in:
parent
01b0ab8dce
commit
2a8f2c51d7
@ -333,6 +333,7 @@ class Gem5Connection(TelnetConnection):
|
|||||||
timeout=None,
|
timeout=None,
|
||||||
password_prompt=None,
|
password_prompt=None,
|
||||||
original_prompt=None,
|
original_prompt=None,
|
||||||
|
strip_echoed_commands=False,
|
||||||
):
|
):
|
||||||
if host is not None:
|
if host is not None:
|
||||||
host_system = socket.gethostname()
|
host_system = socket.gethostname()
|
||||||
@ -349,6 +350,8 @@ class Gem5Connection(TelnetConnection):
|
|||||||
self.is_rooted = True
|
self.is_rooted = True
|
||||||
self.password = None
|
self.password = None
|
||||||
self.port = None
|
self.port = None
|
||||||
|
# Flag to indicate whether commands are echoed by the simulated system
|
||||||
|
self.strip_echoed_commands = strip_echoed_commands
|
||||||
# Long timeouts to account for gem5 being slow
|
# Long timeouts to account for gem5 being slow
|
||||||
# Can be overriden if the given timeout is longer
|
# Can be overriden if the given timeout is longer
|
||||||
self.default_timeout = 3600
|
self.default_timeout = 3600
|
||||||
|
Loading…
x
Reference in New Issue
Block a user