mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +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:
		| @@ -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"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user