mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
workloads/rt-app: fix
Change "pull_file" to "pull" when exacting results. "pull_file" was WA2 API which somehow got missed.
This commit is contained in:
committed by
Marc Bonnici
parent
2a712cd3bb
commit
ea64630f57
@@ -274,7 +274,7 @@ class RtApp(Workload):
|
|||||||
self.target.execute(tar_command, timeout=300)
|
self.target.execute(tar_command, timeout=300)
|
||||||
target_path = self.target.path.join(self.target_working_directory, TARBALL_FILENAME)
|
target_path = self.target.path.join(self.target_working_directory, TARBALL_FILENAME)
|
||||||
host_path = os.path.join(context.output_directory, TARBALL_FILENAME)
|
host_path = os.path.join(context.output_directory, TARBALL_FILENAME)
|
||||||
self.target.pull_file(target_path, host_path, timeout=120)
|
self.target.pull(target_path, host_path, timeout=120)
|
||||||
with tarfile.open(host_path, 'r:gz') as tf:
|
with tarfile.open(host_path, 'r:gz') as tf:
|
||||||
tf.extractall(context.output_directory)
|
tf.extractall(context.output_directory)
|
||||||
os.remove(host_path)
|
os.remove(host_path)
|
||||||
|
Reference in New Issue
Block a user