mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
workloads: Updating geekbench to support v4.3.1
v4.3.1 has made a minor change to the run cpu benchmark element. Refactoring to support both the new and previous elements.
This commit is contained in:
parent
ea1d4e9071
commit
3bd8f033d5
@ -52,6 +52,10 @@ class Geekbench(ApkUiautoWorkload):
|
||||
"""
|
||||
summary_metrics = ['score', 'multicore_score']
|
||||
versions = {
|
||||
'4.3.1': {
|
||||
'package': 'com.primatelabs.geekbench',
|
||||
'activity': '.HomeActivity',
|
||||
},
|
||||
'4.2.0': {
|
||||
'package': 'com.primatelabs.geekbench',
|
||||
'activity': '.HomeActivity',
|
||||
|
Binary file not shown.
@ -126,7 +126,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
|
||||
public void runBenchmarks() throws Exception {
|
||||
UiObject runButton =
|
||||
mDevice.findObject(new UiSelector().textContains("Run Benchmarks")
|
||||
mDevice.findObject(new UiSelector().textContains("Run Benchmark")
|
||||
.className("android.widget.Button"));
|
||||
if (!runButton.waitForExists(WAIT_TIMEOUT_5SEC)) {
|
||||
throw new UiObjectNotFoundException("Could not find Run button");
|
||||
|
Loading…
x
Reference in New Issue
Block a user