aboutsummaryrefslogtreecommitdiff
path: root/devlib/host.py
diff options
context:
space:
mode:
authorAnouk Van Laer <anouk.vanlaer@arm.com>2017-01-31 12:48:58 +0000
committerAnouk Van Laer <anouk.vanlaer@arm.com>2017-02-08 11:12:17 +0000
commit29a7940731cb1ec8559d3ae93648de6dc33f7bf8 (patch)
tree209a852c8832b056e2a3b6d37f6fda67ecdff8a4 /devlib/host.py
parent5472b671efeb3867e44c51a6e263b48ab85a6cb6 (diff)
downloaddevlib-29a7940731cb1ec8559d3ae93648de6dc33f7bf8.tar.gz
gem5: Addition of a gem5 connection
This is the first in a series of commits to allow for the use of gem5 as a target in devlib. The interaction with the gem5 simulation is done by the Gem5Connection, a type of TelnetConnection. There are two types of Gem5Connections (Linux and Android) as they differ slightly in the implementation of some methods. Other types of connections have only been changed to make them uniform (e.g. arguments for init method) Changes to be committed: modified: devlib/__init__.py modified: devlib/host.py modified: devlib/utils/android.py modified: devlib/utils/ssh.py
Diffstat (limited to 'devlib/host.py')
-rw-r--r--devlib/host.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/devlib/host.py b/devlib/host.py
index 121e5b4..3e42c0f 100644
--- a/devlib/host.py
+++ b/devlib/host.py
@@ -49,7 +49,8 @@ class LocalConnection(object):
else:
shutil.copy(source, dest)
- def execute(self, command, timeout=None, check_exit_code=True, as_root=False):
+ def execute(self, command, timeout=None, check_exit_code=True,
+ as_root=False, strip_colors=True):
self.logger.debug(command)
if as_root:
if self.unrooted: