mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-21 18:18:41 +00:00
geekbench: Use root to pull results XML file
This is required, I don't know why this was working before. Maybe only tested after people had run 'adb root'?
This commit is contained in:
parent
eb0f53c8f6
commit
a08d6262ba
@ -153,7 +153,7 @@ class Geekbench(ApkUiautoWorkload):
|
||||
as_root=True).split('\n') if f]
|
||||
for i, on_target_output_file in enumerate(on_target_output_files):
|
||||
host_temp_file = tempfile.mktemp()
|
||||
self.target.pull(on_target_output_file, host_temp_file)
|
||||
self.target.pull(on_target_output_file, host_temp_file, as_root=True)
|
||||
host_output_file = os.path.join(context.output_directory, os.path.basename(on_target_output_file))
|
||||
with open(host_temp_file) as fh:
|
||||
data = json.load(fh)
|
||||
@ -175,7 +175,7 @@ class Geekbench(ApkUiautoWorkload):
|
||||
as_root=True).split('\n') if f]
|
||||
for i, on_target_output_file in enumerate(on_target_output_files):
|
||||
host_temp_file = tempfile.mktemp()
|
||||
self.target.pull(on_target_output_file, host_temp_file)
|
||||
self.target.pull(on_target_output_file, host_temp_file, as_root=True)
|
||||
host_output_file = os.path.join(context.output_directory, os.path.basename(on_target_output_file))
|
||||
with open(host_temp_file) as fh:
|
||||
data = json.load(fh)
|
||||
|
Loading…
x
Reference in New Issue
Block a user