1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

Gem5Device: Move resize shell commands to own method

Moved the commands to resize the shell to their own method. They are
now executed twice. Once as soon as the shell is connected, and a
second time as part of initialize. This latter call takes place after
the isntallation of busybox.
This commit is contained in:
Sascha Bischoff
2015-12-08 17:47:34 +00:00
parent 32cf5c0939
commit d98bdac0be
3 changed files with 20 additions and 8 deletions

View File

@@ -108,3 +108,6 @@ class Gem5LinuxDevice(BaseGem5Device, LinuxDevice):
# If we didn't manage to do the above, call the parent class.
self.logger.warning("capture_screen: falling back to parent class implementation")
LinuxDevice.capture_screen(self, filepath)
def initialize(self, context):
self.resize_shell()