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

Add unsupported package check to AndroidUiAutoBenchmark

Add method to automatically check against a dictionary of known package
versions that don't work well with AndroidUiAutoBenchmark workloads.
Raises an exception if found.
This commit is contained in:
John Richardson
2016-08-04 15:03:28 +01:00
parent 0f579e18b3
commit 86f3066f56
2 changed files with 34 additions and 1 deletions

View File

@@ -100,6 +100,16 @@ ANDROID_NORMAL_PERMISSIONS = [
'UNINSTALL_SHORTCUT',
]
# Package versions that are known to have problems with AndroidUiAutoBenchmark workloads.
# NOTE: ABI versions are not included.
UNSUPPORTED_PACKAGES = {
# Google Keyboard:
# For some versions of the Google Keyboard package device key presses are
# not registered correctly when running UiAutomator Workloads.
'com.google.android.inputmethod.latin': ['5.0.25.122319759']
}
# TODO: these are set to their actual values near the bottom of the file. There
# is some HACKery involved to ensure that ANDROID_HOME does not need to be set
# or adb added to path for root when installing as root, and the whole