1
0
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:
Sascha Bischoff 2017-05-11 10:28:05 +01:00
parent bb7591e8fa
commit f5906cb4ab

View File

@ -468,7 +468,9 @@ class Gem5Connection(TelnetConnection):
# First check if the connection is set up to interact with gem5 # First check if the connection is set up to interact with gem5
self._check_ready() 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: if strip_colors:
output = strip_bash_colors(output) output = strip_bash_colors(output)
return output return output