mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 10:10:46 +00:00
Gem5Connection: Propagate the check_error_code flag
Previously, the flag was not propagated, so the error code was always checked. With this change, we propage it to the _gem5_shell method.
This commit is contained in:
parent
bb7591e8fa
commit
f5906cb4ab
@ -468,7 +468,9 @@ class Gem5Connection(TelnetConnection):
|
||||
# First check if the connection is set up to interact with gem5
|
||||
self._check_ready()
|
||||
|
||||
output = self._gem5_shell(command, as_root=as_root)
|
||||
output = self._gem5_shell(command,
|
||||
check_exit_code=check_exit_code,
|
||||
as_root=as_root)
|
||||
if strip_colors:
|
||||
output = strip_bash_colors(output)
|
||||
return output
|
||||
|
Loading…
x
Reference in New Issue
Block a user