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