mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-15 23:30:47 +01: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']
|
summary_metrics = ['score', 'multicore_score']
|
||||||
versions = {
|
versions = {
|
||||||
|
'4.3.1': {
|
||||||
|
'package': 'com.primatelabs.geekbench',
|
||||||
|
'activity': '.HomeActivity',
|
||||||
|
},
|
||||||
'4.2.0': {
|
'4.2.0': {
|
||||||
'package': 'com.primatelabs.geekbench',
|
'package': 'com.primatelabs.geekbench',
|
||||||
'activity': '.HomeActivity',
|
'activity': '.HomeActivity',
|
||||||
|
Binary file not shown.
@ -126,7 +126,7 @@ public class UiAutomation extends BaseUiAutomation {
|
|||||||
|
|
||||||
public void runBenchmarks() throws Exception {
|
public void runBenchmarks() throws Exception {
|
||||||
UiObject runButton =
|
UiObject runButton =
|
||||||
mDevice.findObject(new UiSelector().textContains("Run Benchmarks")
|
mDevice.findObject(new UiSelector().textContains("Run Benchmark")
|
||||||
.className("android.widget.Button"));
|
.className("android.widget.Button"));
|
||||||
if (!runButton.waitForExists(WAIT_TIMEOUT_5SEC)) {
|
if (!runButton.waitForExists(WAIT_TIMEOUT_5SEC)) {
|
||||||
throw new UiObjectNotFoundException("Could not find Run button");
|
throw new UiObjectNotFoundException("Could not find Run button");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user