1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-07-14 19:13:37 +01:00

Made abi property common between Android and Linux devices

In both cases, the ABI is now obtained by executing "uname -m" on the
device and perfroming a mapping from the returned machine architecture
a known ABI. If no known ABI is found the architecture string itself is
returned.
This commit is contained in:
Sergei Trofimov
2015-06-11 08:56:11 +01:00
parent 2ee9b40527
commit 557b792c77
3 changed files with 21 additions and 9 deletions
wlauto
common
android
linux
utils

@ -43,6 +43,13 @@ import yaml
from dateutil import tz
# ABI --> architectures list
ABI_MAP = {
'armeabi': ['armeabi', 'armv7', 'armv7l', 'armv7el', 'armv7lh'],
'arm64': ['arm64', 'armv8'],
}
def preexec_function():
# Ignore the SIGINT signal by setting the handler to the standard
# signal handler SIG_IGN.