mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
AndroidDevice: fixing get_properites to refer to self.device
This is a fix to the previous fix (2510329cdf938ff85e7574e9f7f3880e370a56ad) that updated get_properties to store "dumpsys window" output relative to the working_directory. That commit constructed the path using self.device, which is wrong, as in this case self itself is the device.
This commit is contained in:
parent
3da58d9541
commit
344bc519c4
@ -502,7 +502,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
|
||||
self._update_build_properties(buildprop_file, props)
|
||||
context.add_run_artifact('build_properties', buildprop_file, 'export')
|
||||
|
||||
dumpsys_target_file = self.device.path.join(self.device.working_directory, 'window.dumpsys')
|
||||
dumpsys_target_file = self.path.join(self.working_directory, 'window.dumpsys')
|
||||
dumpsys_host_file = os.path.join(context.host_working_directory, 'window.dumpsys')
|
||||
self.execute('{} > {}'.format('dumpsys window', dumpsys_target_file))
|
||||
self.pull_file(dumpsys_target_file, dumpsys_host_file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user