mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
Merge pull request #195 from mdigiorgio/geekbench-output
geekbench: fix output files listing
This commit is contained in:
commit
9a94c59605
@ -122,8 +122,8 @@ class Geekbench(AndroidUiAutoBenchmark):
|
||||
|
||||
def update_result_3(self, context):
|
||||
outfile_glob = self.device.path.join(self.device.package_data_directory, self.package, 'files', '*gb3')
|
||||
on_device_output_files = [f.strip() for f in
|
||||
self.device.execute('ls {}'.format(outfile_glob), as_root=True).split('\n')]
|
||||
on_device_output_files = [f.strip() for f in self.device.execute('ls {}'.format(outfile_glob),
|
||||
as_root=True).split('\n') if f]
|
||||
for i, on_device_output_file in enumerate(on_device_output_files):
|
||||
host_temp_file = tempfile.mktemp()
|
||||
self.device.pull_file(on_device_output_file, host_temp_file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user