mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 06:34:13 +00:00 
			
		
		
		
	Merge pull request #134 from jimboatarm/master
Fix to install APKs with whitespace in their path name
This commit is contained in:
		| @@ -357,7 +357,7 @@ class AndroidDevice(BaseLinuxDevice):  # pylint: disable=W0223 | |||||||
|         self._check_ready() |         self._check_ready() | ||||||
|         ext = os.path.splitext(filepath)[1].lower() |         ext = os.path.splitext(filepath)[1].lower() | ||||||
|         if ext == '.apk': |         if ext == '.apk': | ||||||
|             return adb_command(self.adb_name, "install {}".format(filepath), timeout=timeout) |             return adb_command(self.adb_name, "install '{}'".format(filepath), timeout=timeout) | ||||||
|         else: |         else: | ||||||
|             raise DeviceError('Can\'t install {}: unsupported format.'.format(filepath)) |             raise DeviceError('Can\'t install {}: unsupported format.'.format(filepath)) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user