mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 07:04:17 +00:00 
			
		
		
		
	gfxbench: Add a non corporate version
Which works as the corporate version except for a different in package name and a set of Fixed Time Tests that don't exist on free version. Only support v 4.X and v5.X as that's what's available. Note there's a clash with glbenchmark package name. glbenchmark is an ancient version provided by the same developers but was superseded by gfxbench. The version checks in both workloads should ensure we get the right one in the unlikely case both are installed. Signed-off-by: Qais Yousef <qais.yousef@arm.com>
This commit is contained in:
		
				
					committed by
					
						 Marc Bonnici
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							be02ad649c
						
					
				
				
					commit
					7b5ffafbda
				
			| @@ -39,6 +39,7 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|  | ||||
|     private int networkTimeoutSecs = 30; | ||||
|     private long networkTimeout =  TimeUnit.SECONDS.toMillis(networkTimeoutSecs); | ||||
|     private Boolean isCorporate; | ||||
|     public static String TAG = "UXPERF"; | ||||
|     protected Bundle parameters; | ||||
|     protected String[] testList; | ||||
| @@ -50,6 +51,7 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|         parameters = getParams(); | ||||
|         testList = parameters.getStringArray("tests"); | ||||
|         packageID = getPackageID(parameters); | ||||
|         isCorporate = parameters.getBoolean("is_corporate"); | ||||
|     } | ||||
|  | ||||
|     @Test | ||||
| @@ -82,7 +84,8 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|         toggleTest("High-Level Tests"); | ||||
|         toggleTest("Low-Level Tests"); | ||||
|         toggleTest("Special Tests"); | ||||
|         toggleTest("Fixed Time Test"); | ||||
| 	if (isCorporate) | ||||
| 		toggleTest("Fixed Time Test"); | ||||
|  | ||||
|         // Enable selected tests | ||||
|         for (String test : testList) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user