1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +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:
scott
2018-11-15 15:24:12 +00:00
committed by Marc Bonnici
parent ea1d4e9071
commit 3bd8f033d5
3 changed files with 5 additions and 1 deletions

View File

@@ -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");