1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-03-21 18:18:41 +00:00

LinuxDevice: Added supported eabi property.

Added property to linux device to return list of supported abis
to be consistent with android devices. Currently only returns a
list containing the primary abi.
This commit is contained in:
Marc Bonnici 2016-12-06 11:01:09 +00:00
parent f7e4232eaa
commit eb239c65d0

View File

@ -136,6 +136,10 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
self._abi = val
return self._abi
@property
def supported_abi(self):
return [self.abi]
@property
def online_cpus(self):
val = self.get_sysfile_value('/sys/devices/system/cpu/online')