mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 18:21:14 +00:00
Merge pull request #58 from Sticklyman1936/gem5_init_fix
Gem5Device: Fix issue with init arguments
This commit is contained in:
commit
e8ba515075
@ -105,7 +105,7 @@ class BaseGem5Device(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
# pylint: disable=E0203
|
# pylint: disable=E0203
|
||||||
def __init__(self, _):
|
def __init__(self):
|
||||||
self.logger = logging.getLogger('gem5Device')
|
self.logger = logging.getLogger('gem5Device')
|
||||||
|
|
||||||
# The gem5 subprocess
|
# The gem5 subprocess
|
||||||
|
@ -89,7 +89,7 @@ class Gem5AndroidDevice(BaseGem5Device, AndroidDevice):
|
|||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.logger = logging.getLogger('Gem5AndroidDevice')
|
self.logger = logging.getLogger('Gem5AndroidDevice')
|
||||||
AndroidDevice.__init__(self, **kwargs)
|
AndroidDevice.__init__(self, **kwargs)
|
||||||
BaseGem5Device.__init__(self, **kwargs)
|
BaseGem5Device.__init__(self)
|
||||||
|
|
||||||
def login_to_device(self):
|
def login_to_device(self):
|
||||||
pass
|
pass
|
||||||
|
@ -88,7 +88,7 @@ class Gem5LinuxDevice(BaseGem5Device, LinuxDevice):
|
|||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.logger = logging.getLogger('Gem5LinuxDevice')
|
self.logger = logging.getLogger('Gem5LinuxDevice')
|
||||||
LinuxDevice.__init__(self, **kwargs)
|
LinuxDevice.__init__(self, **kwargs)
|
||||||
BaseGem5Device.__init__(self, **kwargs)
|
BaseGem5Device.__init__(self)
|
||||||
|
|
||||||
def login_to_device(self):
|
def login_to_device(self):
|
||||||
# Wait for the login prompt
|
# Wait for the login prompt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user