1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 11:58:55 +00: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:
Sergei Trofimov 2018-02-14 11:44:36 +00:00 committed by Marc Bonnici
parent 2a712cd3bb
commit ea64630f57

View File

@ -274,7 +274,7 @@ class RtApp(Workload):
self.target.execute(tar_command, timeout=300)
target_path = self.target.path.join(self.target_working_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:
tf.extractall(context.output_directory)
os.remove(host_path)