mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +00:00 
			
		
		
		
	AndroidDevice: Added -rf to delete_files
				
					
				
			This allows it to delete folders and makes it consistend with LinuxDevice.
This commit is contained in:
		| @@ -342,7 +342,7 @@ class AndroidDevice(BaseLinuxDevice):  # pylint: disable=W0223 | ||||
|  | ||||
|     def delete_file(self, filepath, as_root=False):  # pylint: disable=W0221 | ||||
|         self._check_ready() | ||||
|         adb_shell(self.adb_name, "rm '{}'".format(filepath), as_root=as_root, timeout=self.default_timeout) | ||||
|         adb_shell(self.adb_name, "rm -rf '{}'".format(filepath), as_root=as_root, timeout=self.default_timeout) | ||||
|  | ||||
|     def file_exists(self, filepath): | ||||
|         self._check_ready() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user