1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

fix: uname utility is unavailable in Android. It has to be invoked through busybox.

This commit is contained in:
Vasilis Flouris 2015-06-11 18:58:27 +01:00
parent e357a46b62
commit 2f214da8a2

View File

@ -113,7 +113,7 @@ class BaseLinuxDevice(Device): # pylint: disable=abstract-method
@property @property
def abi(self): def abi(self):
if not self._abi: if not self._abi:
val = self.execute('uname -m').strip() val = self.execute('uname -m', busybox=True).strip()
for abi, architectures in ABI_MAP.iteritems(): for abi, architectures in ABI_MAP.iteritems():
if val in architectures: if val in architectures:
self._abi = abi self._abi = abi