mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	wl/speedometer: Ensure test package is installed.
Check that the package specified for the test is installed on the device.
This commit is contained in:
		| @@ -131,6 +131,12 @@ class Speedometer(Workload): | |||||||
|                 "Device must be rooted for the speedometer workload currently" |                 "Device must be rooted for the speedometer workload currently" | ||||||
|             ) |             ) | ||||||
|  |  | ||||||
|  |         if not self.target.package_is_installed(self.chrome_package): | ||||||
|  |             raise WorkloadError( | ||||||
|  |                 "Could not find '{}' on the device. Please ensure it is installed, " | ||||||
|  |                 "or specify the correct package name using 'chrome_package' " | ||||||
|  |                 "parameter.".format(self.chrome_package)) | ||||||
|  |  | ||||||
|         if self.target.adb_server is not None: |         if self.target.adb_server is not None: | ||||||
|             raise WorkloadError( |             raise WorkloadError( | ||||||
|                 "Workload does not support the adb_server parameter, due to the webpage " |                 "Workload does not support the adb_server parameter, due to the webpage " | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user