1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 02:00:45 +00:00

Merge pull request #122 from Sticklyman1936/propagate_check_error_code

Propagate check_error_code
This commit is contained in:
setrofim 2017-05-11 10:37:10 +01:00 committed by GitHub
commit 4dc54728c1

View File

@ -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